A better interface management software than postman - Apifox


Recently I have used a useful Chinese version of interface management software, Apifox. Here is an introduction to how to use it and its benefits.

Official website

Apifox’s official address: https://apifox.com/
Link
Insert image description here
There is this description on the official website:

One system and one data can solve the problem of data synchronization between multiple API tools
As long as the API documentation, API debugging, API Mock, and API automated testing are well defined, Use it directly without defining it again.
API documentation and API development and debugging use the same tool. After API debugging is completed, it can be guaranteed to be completely consistent with the API document definition. Efficient, timely and accurate!

Let’s take a look at the specific installation and use.

Install and log in

Download and install the corresponding version directly from the official website above, then select the installation path and click Next and Next. After the installation is completed, enter the following page
Insert image description here
Just register with your mobile phone number on this page, and then log in.

Apifox function usage

Team Management & Project Management

Click "New Team" to create;
Insert image description here
Then create a project under this team
Insert image description here

Interface management

In the newly created project, add a subdirectory under the root directory of the interface, which can be named according to your own module
Insert image description here
Directory settings, mainly service front url settings: we commonly use It is a microservice environment, so choose the service you specify here:
Insert image description here
The specific service is specified here, select the environment in the upper right corner, click on the management environment->Development environment:
Insert image description here
After creating the new service, add the corresponding url prefix
Insert image description here
After the above content is completed, you can add the interface. The operation inside is similar to postman.
Insert image description here
Fill in the interface parameters, request method, and token.
Insert image description here
The token can be refreshed automatically. This method will be added later.

Interface documentation

At present, interface documents are not used much here, but you can see that it supports defining interface documents. I will add more later when I become proficient in using them.
Insert image description here

Apifox help documentation

Finally, here is a link to the help document, which is very detailed. The above introduction is at least an introduction. If you want to know more, you can learn from the official documentation:
https ://apifox.com/help/
Apifox Help Document

Insert image description here

Guess you like

Origin blog.csdn.net/qq_40454136/article/details/133787872