Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 807 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 807 Bytes

API for testing authentication

This API is Hosted at Click Here

This API can be used to test auth for your applications

API Documentation :

route : /register
request type : POST
Body : {email : , password : }
failure response : {error message} ("User already registered" if user already registered)
success response : {{success : true}}
route : /login
request type : POST
Body : {email : , password : }
failure response : {{ success: false }}
success response : {{ success: true }}
Header Included in response 
route : /session 
request type : GET 
Header : Must Be included
failure response : {"Auth-Test-API"}
success response : {{ success: true }}
Header Content:
token: {The response}

The Token expires in 15 Days