HTTP request mode

Source: Internet
Author: User

1. GET

2. HEAD

3. PUT

4. DELETE

5. POST

6. OPTIONS

Get: Send a request to get some resources on the server, the resource is put back to the client through HTTP header and rendering data, and the GET request never contains rendering data;

Head: Essentially the same as get, but head does not render data with only HTTP header information; (Imagine a business scenario: to determine whether a resource exists, we usually use get, but the head here is more explicit.) )

Put:put, similar to post, sends data to the server, but the put specifies where the resource is stored;

Delete: Deletes a resource;

Post: Providing data to the server;

Options: It is used to get the methods supported by the current URL. If the request succeeds, it contains a header named "Allow" in the HTTP header, which is the supported method, such as "GET, POST." (interesting but less used)

HTTP request mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.