postman使用

首先登录postman:  

  http://exchange.test.com:8088/qjsoft-app-laser-controller-exchange/web/ml/mlogin/loginIn.json

loginName=18721638688&passwd=123456&code=1234&redirectURL=www.baidu.com

  点击Herders ,填写key--value

  key: User-Agent           value: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

 

登录成功 

测试保存方法接口:

 http://exchange.test.com:8088/qjsoft-app-laser-controller-exchange/web/os/osoauthconfig/saveOsoauthconfig.json

在Body里填写非空字段的key--value值

保存接口没问题

测试查询方法接口:

  http://exchange.test.com:8088/qjsoft-app-laser-controller-exchange/web/os/osoauthconfig/queryOsoauthconfigPage.json

查询接口没问题

测试更新接口:

http://exchange.test.com:8088/qjsoft-app-laser-controller-exchange/web/os/osoauthconfig/updateOsoauthconfig.json

修改其他key值里的value值

修改接口没问题

猜你喜欢

转载自www.cnblogs.com/shenhaha520/p/8989319.html