zoukankan      html  css  js  c++  java
  • 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。

  • 相关阅读:
    JdbcTemplate
    Spring AOP——基于XML的进阶案例
    Spring
    面试题
    切面编程
    选择题
    Spring核心概念
    缓存
    BFC 神奇背后的原理
    git 教程
  • 原文地址:https://www.cnblogs.com/apple2016/p/14549549.html
Copyright © 2011-2022 走看看