Postman 工具模拟Ajax请求

1.请求方式 post

2.headers设置:X-Requested-With:XMLHttpRequest    代码判断是以此为依据的

                             (Content-Type:application/x-www-form-urlencoded)

3.body中可以写请求参数,不过要设置编码方式(我没有传值)

 

 

posted @ 2018-09-05 12:39  達達尼亞  阅读(4667)  评论(0编辑  收藏  举报