POST
The method that creates a new resource.
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}'
Level: Apprentice · More Web Development terms at this level
Updated