1.测试https环境下接口
如下图所示,关闭ssl验证即可。
2.测试含session的接口
2.1找到session值
2.2在postman添加session值
把对应的session值放入,保存即可
3.模拟ajax请求
1)提交模式:POST
2)Headers增加参数:
Content-Type 为:application/x-www-form-urlencoded
X-Requested-With 为:xmlhttprequest3)Body选择为:x-www-form-urlencoded,参数为模拟AJAX提交的内容
1