教你postman怎么做接口 postman使用教程。

postman怎么做接口?很多用户不知道怎么使用,下面小编教你如何使用postman发起请求,一起来看看吧 。
postman怎么做接口 postman使用教程

教你postman怎么做接口 postman使用教程。


1.打开postman工具,等待加载完成后,进入首页
【教你postman怎么做接口 postman使用教程。】
教你postman怎么做接口 postman使用教程。


2.发送get请求的话我们只需要将url完整的填入输入框即可

教你postman怎么做接口 postman使用教程。


3.输入完毕后,我们可以通过点击param按钮,查看我们get请求的参数,这样也方便我们修改指定参数进行多个case测试

教你postman怎么做接口 postman使用教程。


4.参数确认无误后,点击send按钮发送请求,可以在body里面看到请求的返回值

教你postman怎么做接口 postman使用教程。


5.如果我们需要做post请求的话,先将请求方式修改为post,如下图所示

教你postman怎么做接口 postman使用教程。


6.之后输入url,点击url下面的body填入需要设置的请求参数

教你postman怎么做接口 postman使用教程。


7.有些使用我们的接口请求需要带入header,我们可以点击请求url下面的header,添加header请求参数,设置完毕后点击send完成post请求

教你postman怎么做接口 postman使用教程。


以上就是postman使用教程,更多精彩教程尽在本站!

    推荐阅读