Spring 服务调用接口时,提示You should be redirected automatically to target URL:

问题

html 复制代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<title>Redirecting...</title>

<h1>Redirecting...</h1>

<p>You should be redirected automatically to target URL: <a href="http://xxx/api/v1/branch_device/">http://xxx/api/v1/branch_device/</a>.  If not click the link.

调用接口老是提示这个

最后发现是需要在请求url最后加上/

相关推荐
秃了也弱了。3 分钟前
FASTJSON库:阿里出品java界json解析库,使用与踩坑记录
java·开发语言·json
安全渗透Hacker16 分钟前
参数未校验导致的DOS(服务拒绝)问题典型场景
java·安全·web安全·网络安全·安全性测试
Chan1630 分钟前
微服务 - Higress网关
java·spring boot·微服务·云原生·面试·架构·intellij-idea
二哈喇子!32 分钟前
JavaSE 与 JavaEE 知识点整合
java·servlet·tomcat
之歆38 分钟前
Spring AI入门到实战到原理源码-多模型协作智能客服系统
java·人工智能·spring
yyy(十一月限定版)1 小时前
c++(3)类和对象(中)
java·开发语言·c++
IT 行者1 小时前
Spring Security 7 OAuth2 Token 格式选择浅析
java·后端·spring
shughui1 小时前
最新版IntelliJ IDEA下载+安装+汉化(详细图文)
java·ide·intellij-idea
小罗和阿泽1 小时前
java 【多线程基础 三】
java·开发语言