Postman 工具模擬Ajax請求

1.請求方式 postapp

2.headers設置:X-Requested-With:XMLHttpRequest    代碼判斷是以此爲依據的post

                             (Content-Type:application/x-www-form-urlencoded)編碼

3.body中能夠寫請求參數,不過要設置編碼方式(我沒有傳值)url

 

相關文章
相關標籤/搜索