2分钟玩转APIPOST
本文通过简单介绍如何利用ApiPost调试接口和快速的生成接口文档,让您初步体验ApiPost的魅力!
1. API写完想要测试?试试模拟发送一次请求
新建接口,我想模拟发送请求如下
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
}'
如图进行进行配置:
点击发送,查看接口返回结果:
你可以查看返回数据,返回Header、Cookie、状态码、请求时长等等数据。
2. 测试完后我想快速生成文档给前端看
点击分享文档