PUT
noun
say it: “PUT” /pʊt/
The HTTP method for replacing a whole resource with new values.
What is PUT?
PUT replaces a resource with the one in the body. Send the whole thing: missing fields are treated as removed.
PUT /recipes/42
{ "title": "Fluffy Pancakes", "minutes": 20, "vegetarian": true }
In a sentence
- “A PUT to /api/products/7 replaced the product with the new values.”
Level: Apprentice · More REST API terms at this level
Updated