http PUT https://api.example.com/items/42 name=updated

Category: Web App Development

http PUT https://api.example.com/items/42 name=updated

Update a resource with HTTPie PUT

Sends a PUT request replacing item 42 with the given name field as JSON. PUT semantics replace the whole resource, while PATCH would update only the supplied fields. Use PATCH the same way for partial updates.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.