Request

noun

say it: “rih-KWEST” /rɪˈkwɛst/

The message a client sends to a server: a method, a URL, headers and sometimes a 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 }

In a sentence

  • “Each click on a link sends a GET request to the server.”

Level: Novice · More REST API terms at this level

Updated