因为 dataType 是 jsonp 而不是 json

jsonp不支持POST跨域,所以会自动转成GET

而关于jsonp为什么不支持post请求,百度到的答案是jsonp为动态的script,没有同源策略,所以只能是get
知乎链接:https://www.zhihu.com/question/28890257

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-14
  • 2021-07-27
  • 2022-12-23
  • 2021-11-22
猜你喜欢
  • 2021-04-05
  • 2021-11-27
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案