The benefits of restful

Source: Internet
Author: User

1. Lightweight, directly based on HTTP, does not require anything else such as a message protocol. Get/post/put/delete for CRUD Operations
2. Resource-oriented, at a glance, with self-explanatory.
3. Data description is simple, generally with Xml,json to do data exchange.

4 HTTP is considered more comprehensive, easier to use, and more scalable . Do not have to yy a protocol: take something to get (get is safe, do not modify the service resources), the new post (post is not secure), the change will put (put will power, etc.), delete is deleted (delete will be idempotent) .... It is not easy to show your resources gracefully and even let others find this resource without looking at the agreement.

5 Rest takes advantage of several actions of HTTP, allowing the browser or middleware to determine whether the data has changed or not to cache the data, depending on the action.

The benefits of restful

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.