3.3) Hasura Auth API + Postman collection

ALOK SHAKYA
2 min readAug 4, 2017

--

Previously I discussed about Data API and Discussed about data modelling in 3.1 blog.

Now will discuss about Hasura Auth API + Postman collection

Hasura provides many great auth API but out of them 4 are of great importance

  1. /signup
  2. /login
  3. /user/account/info
  4. /user/logout

I have used all of them in my web app.

  1. ‘/signup’

The /signup request doesn’t require authorization token. This request sends auth token in response.

2. /login

This request send back authorization token for making new requests with that token to identify the user on server.

3. /user/account/info

This request requires only Authorization header to display all details about that user.

4. /user/logout

This request is also require authorization header to logout particular user.

These are the request which are being used in my web app in my next blog I will discuss about Intregating UI with backend.

Previous Next

--

--