[.NET] Html request methods: Get, Post, Options, Put, Delete, etc.

In general WebAPI, requests are four kinds of methods appear (but I basically do not care, direct custom), Html in fact, there are other request methods, record it:

Post

Common methods can take parameters, file upload server.

Options

Attribute request to the server, view server performance, when Ajax cross, it will first send a tentative Options server.

Put

It is generally used to increase request.

Delete

Generally used to request deletion.

Connect

General request for linking the proxy server.

Trace

Generally used for testing and diagnosis, returned echo request server information
Head And Get similar, but does not return information.
Get Common methods, to bring the server returns a parameter request message, having a length limit, explicit request.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

reference:

https://www.html.cn/archives/9341

 

Guess you like

Origin www.cnblogs.com/laokchen/p/12355401.html