Login

Login is so simple, Appogram Calls your API with a username ad password then your API will returns a JSON Web Token. JWT is a defacto standard for creating Authentication. You can find more info at https://jwt.io‚Äč

Login Request

{
"username":"John",
"password":"Doe"
}

Success Response

{
"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}

Failure Response

For failure just send a HTTP 403 error message.