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。

原文地址:https://www.cnblogs.com/apple2016/p/14549549.html