postman測試重定向接口,We're sorry but system-cn doesn't work properly without JavaScript enabled. Please enable it to continue


postman測試get請求時,響應200,但是接口返回:We're sorry but system-cn doesn't work properly without JavaScript enabled. Please enable it to continue

問題原因:被測接口存在重定向所致,如果接口重定向到其它url,postman也會自動跳轉到該url。如果想看到這個url,需要關閉postman的自動重定向功能

 

 打開右上角的Settings設置界面,關閉Automatically follow redirects即可。
再次請求,不會自動跳轉,在響應頭的Location中看到重定向的url。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM