Application Programming Interface


Login
Method
URL
Required headers :
Content-Type = application/json
Accept = application/json

{
	"username" : "rulego",
	"password" : "pass"
}
{
    "username": "rulego",
    "email": "example@rulego.pl",
    "sessionToken": "a9ab6b89-5197-4198-aaf3-da7bb9f46d77",
    "roles": [
        "ROLE_USER",
        "ROLE_LOGGED_USER"
    ]
}
{
    "errorCode": "GO-CORE-AUTHENTICATION-1",
    "message": "Incorrect password"
}

{ "errorCode": "GO-CORE-AUTHENTICATION-2", "message": "Incorrect login" }