postman的使用总结

Posted 武侯668

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了postman的使用总结相关的知识,希望对你有一定的参考价值。

1postman发送普通post请求

在地址栏里输入请求url:http://127.0.0.1:8081/getuser

选择“POST”方式,

点击\'\'body", \'\'form-data",

添加   键:userid , 值:1

点击send发送请求,查看结果

2 postman发送json格式的post请求

在地址栏里输入请求url:http://127.0.0.1:8081/getmoney

选择“POST”方式,

在“headers”添加key:Content-Type  , value:application/json

点击"body",\'\'raw\'\'并设定为JSON

添加:

{"userid": 1}

点击send发送即可

 

以上是关于postman的使用总结的主要内容,如果未能解决你的问题,请参考以下文章

个人技术总结——postman的使用(使用数据变量多次运行集合)

关于http测试总结

关于http测试总结

postman断言总结

postman学习总结

个人技术总结——postman的接口请求