1,method 是 get 方式的時候,會將數據轉換成 query string
method 為 post 時,header為{"Content-Type": "application/x-www-form-urlencoded"}會將數據轉換成 query string
method 為 post 時,header為{"Content-Type":"application/json"}
的數據,會對數據進行 JSON 序列化
1,method 是 get 方式的時候,會將數據轉換成 query string
method 為 post 時,header為{"Content-Type": "application/x-www-form-urlencoded"}會將數據轉換成 query string
method 為 post 時,header為{"Content-Type":"application/json"}
的數據,會對數據進行 JSON 序列化
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。