GET

Retrieve data from server.

GET /api/users HTTP/1.1

POST

Send data to server.

POST /api/users HTTP/1.1
Content-Type: application/json

{"name": "John"}

PUT

Update resource.

PUT /api/users/1 HTTP/1.1

DELETE

Delete resource.

DELETE /api/users/1 HTTP/1.1

PATCH

Partial update.

PATCH /api/users/1 HTTP/1.1

Common mistakes / Pitfalls

  • People often copy a command or pattern without adapting placeholders, which can break production workflows unexpectedly.
  • It is easy to forget environment-specific differences, so always verify behavior in your shell, runtime, or API gateway before shipping.
  • Many errors come from skipping small validation steps, so test with realistic sample input before relying on the result.
Last updated: February 2026