Vidyalelo
JavaScript · Q148

Document Object Model And Event Handling

Programming · JavaScript · question 148

Q148

Which of the following are the features of an HTTP request?

A.
URL being requested
B.
Optional request body
C.
Optional set of request headers
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
An HTTP request consists of four parts :
1. The HTTP request method or “verb”
2. The URL being requested
3. An optional set of request headers, which may include authentication information
4. An optional request body