HTTP POST Method

Information about the HTTP POST method.

HTTP POST

Data is sent to the server in a format determined by the Content-Type header.

If POST data is sent from a form then the body format is determined by the enctype attribute.

Request Body

Data in a request body should be sent.

Response Body

A response body will be returned with a successful response.

Cache

The response may be cached, depending on response headers.

Form

The request can be part of a form by setting the method="POST" attribute.

Example

POST /
POST /a-url/?param=cat

Reference

https://tools.ietf.org/html/rfc7231#section-4.3.3