-
Notifications
You must be signed in to change notification settings - Fork 88
RESTful API For Login
Echo edited this page Jun 19, 2018
·
1 revision
Request
GET /saltshaker/api/v1.0/login
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": true,
"message": "",
"data": {
"token": {
"key": "token",
"value": "eyJhbGciOiJIUzI1NiIsImlhdCI6MTUyOTQwODc3MywiZXhwIjoxNTMyMDAwNzczfQ.eyJ1c2VybmFtZSI6ImFkbWluIn0.1WjuiVdcQe5O3auLmw0uvdBsxx7ZsXMt7Cxsy53PaL8",
"expires": 2592000
},
"user": {
"uid": "u-a83925186eab11e8a38a74867aec7200",
"menu": [
1,
2,
101,
0
]
}
}
}