Skip to content

Menu

HTTP Method Reference

Interactive HTTP methods reference

Runs entirely in your browserAPI & HTTPFree, no sign-up
Loading tool

01What is HTTP Method Reference?

Nine HTTP methods are covered here: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE and CONNECT. The left-hand list shows each method with a one-line description and small safe and idem badges, and the search box filters by method name, description or typical use case. Selecting a method opens a detail panel. It shows four property labels (safe, idempotent, cacheable, and whether a request body is expected) and the RFC section that defines the method (RFC 9110 for most, RFC 5789 for PATCH). Below that you get a use-case summary, a sample raw request and response, and the status codes you'll most often see with that method. The properties follow RFC 9110: GET, HEAD, OPTIONS and TRACE are safe; those plus PUT and DELETE are idempotent; GET and HEAD responses are cacheable, and POST is shown as cacheable only with explicit freshness information, which the spec allows but almost no cache implements. The examples are realistic: the OPTIONS sample shows a CORS preflight with Access-Control-Request-Method and the response's Access-Control-Allow-* headers, and the POST sample returns 201 Created with a Location header. Copy Example copies the request and response together, separated by a --- line. Here is how that plays out. Click PUT and you will see it is not safe but is idempotent, not cacheable, and takes a body, with RFC 9110 Section 9.3.4 as the reference. Click PATCH and the reference switches to RFC 5789, with idempotent shown as false. That single difference is why a retry library can resend a PUT after a timeout without much worry, but should think twice about a PATCH. The search box helps when you only remember the purpose. Typing preflight brings up OPTIONS, since the match runs over use cases as well as names. A few limits are worth knowing. The tool covers the nine standard methods only, so WebDAV methods like PROPFIND or MKCOL are not listed. The sample requests are fixed teaching examples, not something you can edit or send. The cacheable label reflects the spec, not what your CDN actually does, so check your cache's own docs before relying on it.

Backend and API developers who need to confirm the safe, idempotent and cacheable rules for a method before designing an endpoint or retry logic. The tool runs entirely in your browser, so your data never leaves your device.

02How to use HTTP Method Reference

  1. Scan the method list or type into Search methods... to filter.
  2. Click a method to open its detail panel.
  3. Read the Safe, Idempotent, Cacheable and Body labels, the RFC reference and the use case.
  4. Study the Request and Response examples and the Common Status Codes.
  5. Click Copy Example to copy the sample exchange.

03Worked examples

Input: PUT
Result: PUT | safe: false | idempotent: true | cacheable: false | body: true | RFC 9110 Section 9.3.4 | Full resource updates, replacing entire objects
PUT replaces the whole resource, so sending the same request twice leaves the same result.
Input: PATCH
Result: PATCH | safe: false | idempotent: false | cacheable: false | body: true | RFC 5789 | Partial updates, modifying specific fields
PATCH is defined in RFC 5789, not RFC 9110, and is not idempotent by definition.
Input: POST
Result: POST | safe: false | idempotent: false | cacheable: conditional | body: true | RFC 9110 Section 9.3.3 | Creating resources, form submissions, file uploads
POST is neither safe nor idempotent, so a retried POST can create a duplicate resource.
Input: OPTIONS
Result: OPTIONS | safe: true | idempotent: true | cacheable: false | body: false | RFC 9110 Section 9.3.7 | CORS preflight, discovering allowed methods
Browsers send OPTIONS as the CORS preflight before cross-origin requests that are not simple.
Input: DELETE
Result: DELETE | safe: false | idempotent: true | cacheable: false | body: false | RFC 9110 Section 9.3.5 | Removing resources, cleanup operations
DELETE is idempotent: deleting the same resource twice leaves the server in the same state.

04Common use cases

  • Deciding between PUT and PATCH when designing a REST endpoint for updating a user profile
  • Debugging a failing CORS preflight by comparing your OPTIONS response with a correct one
  • Explaining idempotency to a teammate building retry logic for an API client
  • Writing API documentation that lists the right status codes per method
  • Preparing for a backend interview where HTTP semantics come up
  • Checking whether a load balancer's automatic retry on failed requests is safe for the methods your API exposes

05Tips

  • Idempotent means repeating the request leaves the server in the same state, which is what makes retries on PUT and DELETE safe.
  • PATCH is not guaranteed idempotent. An append-to-list operation changes state on every call, so add an idempotency key if clients retry.
  • Return 405 Method Not Allowed with an Allow header when a route doesn't support a method, rather than a generic 404.
  • Many servers disable TRACE because it can be abused in cross-site tracing attacks.

06Related concepts

REST, Idempotency, CORS preflight, RFC 9110, HTTP status codes.

Frequently Asked Questions

What is HTTP Method Reference?

HTTP Method Reference is a free, browser-based developer tool on AIDToolStack. Interactive HTTP methods reference It requires no installation or sign-up and works entirely in your browser.

Is HTTP Method Reference free to use?

Yes. No sign-up, no fees and no usage cap.

Does HTTP Method Reference store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe