An HTTP request contains . . . . . . . . parts. A. 1 B. 5 C. 3 D. 4 E. 2

1
5
3
4 E. 2

The correct answer is C. An HTTP request contains 3 parts:

  1. Method: The method indicates the action that the client wants the server to perform. For example, GET, POST, PUT, DELETE, and HEAD.
  2. Request-URI: The request-URI specifies the resource that the client is requesting. For example, /index.html or /api/v1/users.
  3. HTTP Version: The HTTP version indicates the version of the HTTP protocol that the client is using. For example, HTTP/1.1 or HTTP/2.

Option A is incorrect because an HTTP request contains 3 parts, not 1.
Option B is incorrect because an HTTP request contains 3 parts, not 5.
Option D is incorrect because an HTTP request contains 3 parts, not 4.
Option E is incorrect because an HTTP request contains 3 parts, not 2.