EN
FRENCH
繁体中文
An HTTP request is a message sent by a client to a server to request data or perform an action.
Browsers, APIs, mobile apps, and automated tools all use HTTP requests to communicate with web servers.
A typical request process looks like this:
An HTTP request usually contains:
For example:
GET /products/1001 HTTP/1.1
Host: example.com
Accept: application/json
Common request methods include:
GET — retrieve dataPOST — send or create dataPUT — replace a resourcePATCH — update part of a resourceDELETE — remove a resourceThe method tells the server what the client wants to do.
Partenariat