This software is called Apipost. I didn’t know there was such a tool before. I found it on the Internet. It’s very easy to use. I recommend it to everyone.
What can API design do?
The main function of the API design is to predefine the interface request parameters and response expectations and generate a mock URL. If you only need to debug the interface, you can directly enter the module without predefining the API调试
module API设计
.
The API is designed to pre-define interface request parameters and response expectations (Mock) before the interface is developed, and automatically generate the Mock URL, allowing the front-end and testing to enter the development process in advance.
Predefined request parameters and response expectations
1. We can pre-define the sum of interfaces in the API design module 请求参数
to 响应期望(Mock)
facilitate the front-end docking in advance. As shown below:
Verify the actual response result
2. When the interface development is completed and ready for debugging, we can also use whether the response expectations established in the API design 校验实际响应结果
meet expectations.