其中原因:官网:
POST
方法且 header[‘content-type‘]
为 application/json
的数据,会对数据进行 JSON 序列化POST
方法且 header[‘content-type‘]
为 application/x-www-form-urlencoded
的数据,会将数据转换成 query string (encodeURIComponent(k)=encodeURIComponent(v)&encodeURIComponent(k)=encodeURIComponent(v)...)
原文:https://www.cnblogs.com/wen-/p/12194011.html