-
Default route
/Response
"APi Connected" -
Returns the Username availability
Example:
/username/MynameResponse
if
Mynameis available response will betrueelsefalse
-
Request Body
{ "username": "your_username", "password": "your_password" } -
Request Body
{ "username": "your_username", "password": "your_password" }Response
if Credentials are correct
"Bearer <JWT token>"each token created will be valid for 30 days.
Else
false
valid authorization token is required from /login response.
The route for CRUD operations is /json
Note:
/json?res=true
returns the data on every Mutations
-
Only valid token will return the list //as array of objects -
{ "id": integer, "name": string }
-
{ "id": integer, "name": string }
-
{ "index": integer, // index of the element to update "id": integer, "name": string // new name of the element }