It's not a restful pie.

Source: Internet
Author: User
Is this a restful style?
The project is divided into several subsystems, exchanging data with each other, and the JSON data returned by the URL of jquery is obtained by Ajax.
Question: Is this a restful style?
------to solve the idea----------------------
Yes, it belongs to the restful style.
------to solve the idea----------------------
This should not be a restful style, just a way of integrating your system.

There are some rules in restful style.

1. The client operates on server-side resources with four HTTP verbs (GET POST PUT DELETE)
2. Stateless connections each request is independent
3. Each resource specifies a URI such as a piece of text, a picture, or a song that has its own URI and the URI has its own special rule format
4. Data passing in XML JSON, such as JCE


And the interface is not just called through jquery Ajax ...
------to solve the idea----------------------
There is no standard just one way. So you think it's


------to solve the idea----------------------
I think it's a restful style.
  • Related Article

    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.