🛠️ToolsShed

Referência de Métodos HTTP

Guia completo de métodos HTTP — GET, POST, PUT, DELETE, PATCH e mais.

GETSeguro: SimIdempotente: Sim

Retrieves a resource without modifying server state. The most commonly used HTTP method.

Caso de uso: Fetching a webpage, API data, or file.

POSTSeguro: NãoIdempotente: Não

Submits data to the server to create a new resource or trigger a process.

Caso de uso: Form submission, creating a new record via API.

PUTSeguro: NãoIdempotente: Sim

Replaces the entire target resource with the request payload.

Caso de uso: Updating a user profile — replaces all fields.

PATCHSeguro: NãoIdempotente: Não

Partially modifies a resource — only sends the fields that need updating.

Caso de uso: Updating only the email of a user record.

DELETESeguro: NãoIdempotente: Sim

Removes the target resource from the server.

Caso de uso: Deleting a blog post or API record.

HEADSeguro: SimIdempotente: Sim

Same as GET but returns only headers, not the response body.

Caso de uso: Checking if a URL exists or getting Content-Length.

OPTIONSSeguro: SimIdempotente: Sim

Describes the communication options for the target resource. Used in CORS preflight.

Caso de uso: CORS preflight requests.

TRACESeguro: SimIdempotente: Sim

Performs a message loop-back test along the path to the target resource.

Caso de uso: Debugging proxy chains (rarely used, often disabled).

CONNECTSeguro: NãoIdempotente: Não

Establishes a tunnel to the server identified by the target resource.

Caso de uso: HTTPS tunneling through HTTP proxies.

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.