HTTP Methods Reference

Standard HTTP request methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE with safety, idempotency, and body characteristics.

The data

Methods

MethodSafetyIdempotentBodyPurpose
GETSafetrueNoRetrieve a resource
POSTUnsafefalseYesCreate a resource
PUTUnsafetrueYesReplace a resource
PATCHUnsafefalseYesPartially modify a resource
DELETEUnsafetrueMaybeDelete a resource
HEADSafetrueNoGET without response body
OPTIONSSafetrueNoDescribe communication options
TRACESafetrueNoEcho request for diagnostic

Fetch the same bytes

The static files are identical to what the API returns, but with no rate limit and no server round trip. Use the API when you want a query and a content type; use the files when you want to cache one document.

curl "https://yjtoon.com/api/dataset/http-methods-reference?format=toon"
const res = await fetch(
  "https://yjtoon.com/static-data/dataset/http-methods-reference.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • http
  • methods
  • rest
  • web