Request

What the client sends: method, URL, headers and an optional body.

What is Request?

An HTTP request is what the client sends: a method (GET, POST...), a URL, headers, and sometimes a body.

POST /orders HTTP/1.1
Content-Type: application/json

{ "productId": 7, "quantity": 2 }

Level: Novice · More Web Development terms at this level

Updated