我现在正在开发一个web应用程序。这个应用程序正在使用Laravel框架,应该通过另一个已经存在的REST-API来获取每个数据,以及关于经过身份验证的用户的信息。此REST-API使用基本身份验证作为确认身份验证的方法。
到目前为止,我所做的是这样的代码:
function userLogin(){
//get username and password from login form
$username = $_POST["username"];
$password = $_POST["password"];
//crea
我们有一个grails/groovy应用程序,我们使用的是spring security。在调用我们的登录api并获得身份验证令牌之后,我们调用另一个api - details,我们得到以下错误。我们从android应用程序调用这些app。当我们测试postman的apis时,我们不会遇到这个问题。
2014-10-14 10:49:23,650 [qtp1955156240-20] DEBUG rest.RestAuthenticationFilter - Actual URI is /api/details; endpoint URL is /api/login
2014-10-14 1