POST

noun

say it: “POHST” /poʊst/

The HTTP method for sending new data to the server, such as a submitted form.

What is POST?

POST creates a new resource (or triggers an action). The data goes in the body; a new resource usually comes back with 201 Created.

curl -X POST https://api.example.com/recipes -H "Content-Type: application/json" -d '{"title":"Waffles","minutes":25}'

In a sentence

  • “Submitting the form sends a POST with the new product's details.”

Level: Apprentice · More REST API terms at this level

Updated