POSTMAN模拟ajax:
1.选择提交模式:如POST
2.headers增加参数:
Content-Type:application/x-www-form-urlencoded
X-Requested-With:xmlhttprequest
3.在body中选择x-www-form-urlencoded项,参数为模拟AJAX提交的内容
跳过登录:
测试过程中需要登录,可以先在浏览器中登录,之后获取cookie,在postman的headers中填入cookie,之后继续测试即可。
更多精彩内容:各种AI课程、技能课程、黑科技软件、网站小程序源码、副业小项目、PPT模板等精品素材、电商课程、推广引流课程等,尽在 天边资源网 。