记录一下在服务器上执行post请求,首先利用postman工具进行参数转换,如图所示
我们点击code,然后进行复制参数
更改上图框中的地址,比如 http://localhost:8080/userRole/record/userSiteList 既可
如果想看接口请求响应时间,我们在请求路径最前面加上 time 既可,比如 time http://localhost:8080/userRole/record/userSiteList
其他类型请求,也同样可以利用postman进行参数转换