【发布时间】:2017-08-07 00:51:54
【问题描述】:
我的带有基本身份验证的 REST API 使用 Rest 客户端 (Google Chrome extn) 可以正常工作。 下面的 Curl 命令也可以正常工作:
curl --header "Accept:application/json" -i --user user1:user1Pass http://localhost:8080/authenticate
但是在浏览器中进行相同测试时,我得到了 404 not found 错误。浏览器网址:http://user1.user1Pass@localhost:8080/authenticate
谁能帮我解决这个问题?
【问题讨论】:
标签: rest restful-authentication