HTTP Methods Reference & Sandbox
Compare standard methods and generate a raw request, cURL command and illustrative response without sending traffic.
Enabling local controls…
Inputs and results stay in this page. The tool generates text without running commands or sending requests.
Method semantics
Safe methods are defined to request read-only behavior. Idempotent methods have the same intended effect when repeated.
| Method | Safe | Idempotent | Request content | Cacheable response | Specification | Purpose |
|---|---|---|---|---|---|---|
| GET | Yes | Yes | No general semantics | Yes | RFC 9110 | Retrieve the current representation. |
| POST | No | No | Defined | Explicit freshness + matching Content-Location | RFC 9110 | Ask the target resource to process the content. |
| PUT | No | Yes | Defined | No | RFC 9110 | Create or replace the state of the target resource. |
| DELETE | No | Yes | No general semantics | No | RFC 9110 | Remove the association between the target and its current functionality. |
| PATCH | No | No | Defined | Explicit freshness + matching Content-Location | RFC 5789 | Apply a patch document to the resource. |
| HEAD | Yes | Yes | No general semantics | Yes | RFC 9110 | Get GET response metadata without response content. |
| OPTIONS | Yes | Yes | Optional with Content-Type | No | RFC 9110 | Ask about available communication options. |
| CONNECT | No | No | None | No | RFC 9110 | Establish a tunnel to a host and port. |
| TRACE | Yes | Yes | None | No | RFC 9110 | Perform a diagnostic message loopback. |
A cached POST or PATCH response can be reused for a later GET or HEAD under the stated conditions. The method itself does not become idempotent.
Request setup
Retrieve the current representation.
Enter up to 100 headers and 32 KiB of UTF-8 body. Host and Content-Length can be added automatically. Percent-encode non-URI characters in paths and queries. Check custom fields, paths and bodies for secrets before sharing.
Request outputs
How to use this tool
Compare standard methods and generate a raw request, cURL command and illustrative response without sending traffic.
When not to use it
The sample describes typical semantics. The chosen server's response, CORS behavior and available methods remain unknown.