Spring 服务调用接口时,提示You should be redirected automatically to target URL:
问题
<!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最后加上/