Authorization
This endpoint allows you to send a request that returns a Json Web Token (JWT).
Authorization
Authorization
POST https://example.com/wp-json/rimplenet/v1 /authorization
Sample response{
{
"status_code": 200,
"status": true,
"message": "Authorization Successful",
"data": {
"iss": "localhost",
"iat": 0000000000,
"exp": 0000000000,
"user": {
"id": 1,
"username": "john",
"roles": [
"administrator"
]
}
},
"error": []
} "status_code": 400,
"status": "failed",
"message": "Validation error",
"data": [],
"error": [
"Invalid Credential"
]
}Last updated