Q. What does the Angular service HttpInterceptor do?

  • (A) Intercepts and modifies HTTP requests and responses
  • (B) Makes HTTP calls
  • (C) Parses JSON data
  • (D) Handles form submission
πŸ’¬ Discuss
βœ… Correct Answer: (A) Intercepts and modifies HTTP requests and responses
Explanation: Interceptors can add headers, handle errors or logging.
Explanation by: Mr. Dubey
Interceptors can add headers, handle errors or logging.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
85
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate