1. What is Restful?
Essence: It is a software architecture style
Core: Resource-oriented API setting
2. Why use Restful?
Solve the problem: reduce the complexity of development; improve the scalability of the system
3. What is the difference between Restful and other architectures?
soap webserver is a cross-programming language and cross-operating platform remote calling technology. When sending requests and receiving results through the http protocol, they are encapsulated in xml format, and some specific http message headers are added. These specific http message headers and xml content formats are the soap protocol
The difference between the two architectures is : 1. Efficiency 2. Ease of use 3. Security
Efficiency and ease of use:
soap case: Since soap adds a specific http message header, if the business provider ( WeChat) does not provide documentation...no one will use its api
Security:
Restful is suitable for scenarios with high efficiency requirements but low security requirements
The maturity of soap brings convenience to interface design with higher security requirements
4. How to implement an API that conforms to the Restful architecture?
Comply with the 6 main design elements
5. What is the difference between Restful and http?
Restful is a software architecture style
http is an implementation method
The above is the detailed content of What does Restful mean?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Notepad++7.3.1
Easy-to-use and free code editor

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)