What is restful

Source: Internet
Author: User
I checked restful and found that the explanation was too official. Can anyone explain it in plain words. Thanks for checking restful and finding that the explanation is too official. Can anyone explain it in plain words. Thanks

Reply content:

I checked restful and found that the explanation was too official. Can anyone explain it in plain words. Thanks

1. restful is an agreement in which everyone speaks Mandarin.
2. There may be exchange agreements between two people. There may be company-level communication agreements within the company, and world-class communication agreements in the world. There are also agreements between different groups in the technical scope.
3. A doctor published a paper saying that the previous interface methods were not easy to understand and difficult to understand. Therefore, he proposed a solution named restful.
4. Due to the influence of the doctor and the good method, the heroes of the martial arts have responded to the call.
5. What does it mean by specifying the error code in the browser code range? For example, 200 means that the GET request is successful, 201 means that the content is successfully published, and so on (in fact, the agreed code is rare)
6. What is more important is that the HTTP method does not contain get post put delete, which can correspond to query, add, modify, and DELETE a piece of data. Let's try using a browser. In this way, humans on various platforms can see what you are doing in various programming languages. Of course, there are many other methods that you can customize.
7. In the past, the interface methods were complex, and they wanted to unify the methods of the Wulin interface.

The answer is similar upstairs.
In general, it is a request data path, but this path follows some standards.
Later, the paths that follow these specifications were called restful.

Http request data specification.

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.