This article briefly introduces how to use ApiPost debugging interface and quickly generate interface documents, let you experience the charm of ApiPost!

1. Want to test your API? Try simulating sending a request

To create a new interface, I would like to simulate sending a request as follows

curl --location --request POST 'https://echo.apipost.cn/get.php?c=Course&id=1000' \
--header 'User-Agent: Apipost client Runtime/+https://www.apipost.cn/' \
--header 'Content-Type: application/json' \
--data '{
 "course_id":1
}'
Copy the code

Configuration as shown in the figure:

Click “Send” to view the result returned by the interface:

You can look at the returned data, headers, cookies, status codes, request duration, and so on.

2. After the test, I want to quickly generate a document for the front end to see

Click Share document

Copy and open the document address to see the complete interface documentation.

3. Afterword.

Congratulations on taking your first interface document journey. Our tools also save development and communication time on the front and back ends.

In addition, we have more and better functions for you to experience.