1.请求方式post

2.headers设置:X-Requested-WithXMLHttpRequest    后台我就是根据这个来判断的

                             (Content-Typeapplication/x-www-form-urlencoded

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

postMan模拟ajax请求

相关文章:

  • 2021-12-02
  • 2021-05-27
  • 2021-11-23
  • 2022-02-07
  • 2021-12-12
  • 2022-01-07
  • 2021-07-06
猜你喜欢
  • 2021-11-16
  • 2021-08-31
  • 2021-11-13
  • 2021-11-12
  • 2021-12-26
  • 2021-11-10
  • 2022-02-07
相关资源
相似解决方案