postman模拟ajax post请求
postman模拟ajax post请求
1、POSTMAN配置:
1)提交模式:POST
2)Headers增加参数:
Content-Type 为:application/x-www-form-urlencoded
X-Requested-With 为:xmlhttprequest
3)Body选择为:x-www-form-urlencoded,参数为模拟AJAX提交的内容
如图所示:
1、POSTMAN配置:
1)提交模式:POST
2)Headers增加参数:
Content-Type 为:application/x-www-form-urlencoded
X-Requested-With 为:xmlhttprequest
3)Body选择为:x-www-form-urlencoded,参数为模拟AJAX提交的内容
如图所示: