EXAMPLE
We will know more about the API through the example below:
Request
I will call API to authenticate as Agent:
Code Block |
---|
curl \ -H "X-Auth-Token: eyaskjksadkasd9.9123kjsadhkj123jhasdjajsjsdhKS.IH5uHASSJsadnbads980asTHo9dhljM" \ -X POST -d "{ \"password\": \"1234678\"}" \ "http://88.99.175.131:8000/v1/auth/check-password" |
Response
Code Block |
---|
{ "success": true } |