← All tools

HTTP Methods Reference & Sandbox

Compare standard methods and generate a raw request, cURL command and illustrative response without sending traffic.

http-methods-referenceLOCAL WORKSPACE

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.

MethodSafeIdempotentRequest contentCacheable responseSpecificationPurpose
GETYesYesNo general semanticsYesRFC 9110Retrieve the current representation.
POSTNoNoDefinedExplicit freshness + matching Content-LocationRFC 9110Ask the target resource to process the content.
PUTNoYesDefinedNoRFC 9110Create or replace the state of the target resource.
DELETENoYesNo general semanticsNoRFC 9110Remove the association between the target and its current functionality.
PATCHNoNoDefinedExplicit freshness + matching Content-LocationRFC 5789Apply a patch document to the resource.
HEADYesYesNo general semanticsYesRFC 9110Get GET response metadata without response content.
OPTIONSYesYesOptional with Content-TypeNoRFC 9110Ask about available communication options.
CONNECTNoNoNoneNoRFC 9110Establish a tunnel to a host and port.
TRACEYesYesNoneNoRFC 9110Perform 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

RFC 9110 · RFC 9112

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.