3.3) Hasura Auth API + Postman collection
Jul 29, 2017 · 1 min read
What is Hasura Auth API ?
Hasura Auth provides an HTTP API for authentication and authorization of identities on the Hasura platform. This API can be consumed directly by frontend interfaces like mobile apps, browser-based apps, device apps as well as any server-side program.
It is used for creating new users and assigning roles to them.It is also used for login and logout purpose.
- Copy the endpoint from the console and use it in postman.

- To login add the username and password in body part of the api request.If the access credentials are correct then you will receive a response of a json object containing hasura_id, role and auth_token.

For more details refer to the official Hasura’s documentation