Skip to content
dozens edited this page Feb 2, 2026 · 4 revisions

HTTP

hypertext transfer protocol

HTTP methods

  • GET: fetch a resource
  • PUT: create or replace a resource
  • POST: create a new resource only (fails if the resource exists)
  • PATCH: partial update of a resource
  • DELETE: destroy a resource
  • OPTIONS: show what methods are available for a resource
  • HEAD: just fetch the headers for a resource

Q: What's the difference between PUT and POST

A: PUT is idempotent. POST is not.

Stuff that is not HTTP

CLI Clients

Status Codes

  1. Informational responses (100–199)
  2. Successful responses (200–299)
  3. Redirects (300–399)
  4. Client errors (400–499)
  5. Server errors (500–599)

Testing APIs

Postman is a FIVE BILLION dollar company. Why does testing APIs seem to be so complicated. I really don't think it needs to be.

Other

  • httpbin.org - A simple HTTP Request & Response Service.

Clone this wiki locally