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.