Cheatsheet Pages / curl Cheatsheet

How to partially update a resource with curl — PATCH

Only one field changed — send just that field instead of the whole object.

curl -X PATCH https://api.example.com/users/1 \
  -H "Content-Type: application/json" \
  -d '{"email":"new@example.com"}'
curl Cheatsheet one-page card — commands that actually work
The full one-page card — curl Cheatsheet. Get the complete cheatsheet on GitHub