Auth API
Generate a Auth token and add this token in the APIs header to get the details
Name | Description |
---|---|
URL | |
Method Type | POST |
Post Parameters (JSON Format) | --header 'Content-Type: application/json' \ --header 'Accept: application/json'
--Body: data-raw - JSON { "username": "****@mastersindia.co", "password": "*******" } |
Success Response | { "response": [ {"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNDgsInVzZXJuYW1lIjoicHJhdGVla3JhaStkZW1vQG1hc3RlcnNpbmRpYS5jbyIsImV4cCI6MTY4NTE3NTI1MiwiZW1haWwiOiJwcmF0ZWVrcmFpK2RlbW9AbWFzdGVyc2luZGlhLmNvIiwib3JpZ19pYXQiOjE2ODUwODg4NTJ9.7jFzS8yXXM7tvrG0tyt9DfyDwztjC7hkmDUdeegt8MQ"} } ] } } }, "responseStatus": "SUCCESS" } ], "error": "false", "code": "200", "message": "Success" } |
Last modified 3mo ago