Hello all !
My app
My app is powered by https://hasura.io/
Sample Hasura Auth API queries:
I.) SIGNUP
Method :POST
URL : https://auth.veejay84.hasura-app.io/signup
Header : Content-type , application/json
Body of Hasura signup auth API
{
"username":"ashutosh",
"password":"1234abcd"
}
II.) SIGNIN
Method : POST
URL : https://auth.veejay84.hasura-app.io/login
Header : Content-type , application/json
Body of Hasura sign-in auth API
{
"username":"ashutosh",
"password":"1234abcd"
}
III.) USER ACCOUNT INFO
Method :GET
URL: https://auth.veejay84.hasura-app.io/user/account/info
Header : Autherization , Bearer
Empty body
IV.) LOGOUT
Method : GET
URL : https://auth.veejay84.hasura-app.io/user/logout
Header : Autherization , Bearer
Empty body
Following are some screen shots of various Auth APIs in Postman
==============================SIGNUP AUTH API=======================================
SIGN UP REQUEST BODY IN JSON FORMAT
SIGNUP RESPONSE BODY IN JSON
THE SIGNUP API SETS COOKIE - ITS DETAILS
SIGNUP API RESPONSE HEADERS
==========================LOGOUT API===========================
LOGOUT REQUEST HEADER----HAS NO REQUEST BODY
LOGOUT RESPONSE BODY
LOGOUT RESPONSE HEADERS
=================LOGIN API===========================================
LOGIN REQUEST HEADER
LOGIN REQUEST BODY
LOGIN RESPONSE BODY
LOGIN API SETS COOKIE--ITS DETAILS
LOGIN RESPONSE HEADERS
===================USER ACCOUNT INFO AUTH API=====================
REQUEST HEADER ---------NO BODY
RESPONSE BODY IN JSON
RESPONSE HEADER
Please live comments
My app
My app is powered by https://hasura.io/
I.) SIGNUP
Method :POST
URL : https://auth.veejay84.hasura-app.io/signup
Header : Content-type , application/json
Body of Hasura signup auth API
{
"username":"ashutosh",
"password":"1234abcd"
}
II.) SIGNIN
Method : POST
URL : https://auth.veejay84.hasura-app.io/login
Header : Content-type , application/json
Body of Hasura sign-in auth API
{
"username":"ashutosh",
"password":"1234abcd"
}
III.) USER ACCOUNT INFO
Method :GET
URL: https://auth.veejay84.hasura-app.io/user/account/info
Header : Autherization , Bearer
Empty body
IV.) LOGOUT
Method : GET
URL : https://auth.veejay84.hasura-app.io/user/logout
Header : Autherization , Bearer
Empty body
Following are some screen shots of various Auth APIs in Postman
==============================SIGNUP AUTH API=======================================
SIGNUP REQUEST HEADERS
SIGNUP RESPONSE BODY IN JSON
THE SIGNUP API SETS COOKIE - ITS DETAILS
SIGNUP API RESPONSE HEADERS
==========================LOGOUT API===========================
LOGOUT REQUEST HEADER----HAS NO REQUEST BODY
LOGOUT RESPONSE BODY
LOGOUT RESPONSE HEADERS
=================LOGIN API===========================================
LOGIN REQUEST HEADER
LOGIN REQUEST BODY
LOGIN RESPONSE BODY
LOGIN API SETS COOKIE--ITS DETAILS
LOGIN RESPONSE HEADERS
===================USER ACCOUNT INFO AUTH API=====================
REQUEST HEADER ---------NO BODY
RESPONSE BODY IN JSON
RESPONSE HEADER
Please live comments
No comments:
Post a Comment