# PUT

The method that replaces a whole resource.

## What is **PUT**?

`PUT` replaces a resource with the one in the body. Send the whole thing: missing fields are treated as removed.

```text
PUT /recipes/42

{ "title": "Fluffy Pancakes", "minutes": 20, "vegetarian": true }
```

Level: Apprentice · [More Web Development terms at this level](https://www.ask-codey.com/glossary/subjects/web-development/apprentice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/put
