What is rest?
REST (representational state Transfer): Presentation layer Transfer (transfer: implemented via HTTP verbs), is a software architecture style. Summary: URL locator resource, HTTP verb action (get,post,put,delete) describes the operation.
What is Restfun?
Rest-building-based APIs are restful styles.
Why use restful?
JSP embedded Java code affects our development efficiency. Because we need to convert HTML into HTML pages and write scripts that affect development efficiency and do not allow developers to focus on the development of business functions, more and more companies are opting for separation from front to back.
Designing a restful-style API
1, in the RESTful architecture, each URL represents a resource, so the URL can not have verbs, only nouns. And the nouns used often correspond to the table names of the database.
2. HTTP verb design: get (Get Resource) post (new Resource) PUT (update resource, client provides changed full resource) Delete (delete resource)
RESTful, restful APIs, REST introduction