Postman 工具模拟Ajax请求

1.请求方式 postapp

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

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

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

 

相关文章
相关标签/搜索