HTTP 方法参考

HTTP方法参考:GET、POST、PUT、PATCH、DELETE、HEAD、OPTIONS。

GETSafe: Idempotent:

Retrieve a resource. No body. Results may be cached.

GET /users/123
POSTSafe: Idempotent:

Create a new resource or trigger an action. Has body.

POST /users
PUTSafe: Idempotent:

Replace an entire resource. Idempotent.

PUT /users/123
PATCHSafe: Idempotent:

Partial update of a resource.

PATCH /users/123
DELETESafe: Idempotent:

Delete a resource.

DELETE /users/123
HEADSafe: Idempotent:

Like GET but returns only headers, no body.

HEAD /users/123
OPTIONSSafe: Idempotent:

Describes communication options for the target resource.

OPTIONS /users
CONNECTSafe: Idempotent:

Establishes a tunnel (used for HTTPS via proxy).

CONNECT example.com:443
TRACESafe: Idempotent:

Performs a loopback test (debugging).

TRACE /path

相关工具

关于此工具

HTTP方法参考:GET、POST、PUT、PATCH、DELETE、HEAD、OPTIONS。