使用Rest客户端(Google Chrome extn),基本身份验证的我的REST API可以正常工作。 同样也工作正常,下面的curl命令:无法从浏览器调用REST API
卷曲--header“接受:应用/ JSON的” -i --user用户1:user1Pass http://localhost:8080/authenticate
但在浏览器中测试相同,当我得到404未找到错误。浏览器网址:http://[email protected]:8080/authenticate
任何人都可以请帮助我吗?
有错字错误。我使用如下,但仍然不工作:user1:user1Pass @ localhost:8080/authenticate –