代码改变世界

Postman代码测试工具如何用?

2019-04-28 20:45  话猫  阅读(754)  评论(0编辑  收藏  举报

 

 

1.  1)get请求,参数为map时,

 

  postman的传参

  2)参数为基本数据类型的参数时

  postman传参:

  3)当参数在接口中动态获取时

  postman传参:

2.  1)post请求,参数为map时:

  postman传参:

  2)参数为List集合时(参数为集合或者数组参数形式一样,都是[,,,,,])

  postman传参:

  3)参数为一个基本数据类型的参数时(controller层接收参数时,不需要任何注解)

  postman传参: