Angular Web Framework Practice Test
Angular Web Framework HTTP Client & API Integration 2
How do you add custom HTTP headers to an HttpClient request?
Select your answer
A
By modifying the global fetch API before the call
B
By passing an HttpHeaders object via the headers option
C
By setting document.headers before the request
D
By using a map() pipe operator on the response
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →