Credential - nisbweb/auth GitHub Wiki
GET: check cred exists
curl -i -X GET \
'https://nisb-auth.herokuapp.com/credential?email=mridul.kepler%40gmail.com'
POST : Create creds (signup)
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"email" : "[email protected]",
"password" : "mridul123"
}' \
'https://nisb-auth.herokuapp.com/credential'
PUT: Change password
curl -i -X PUT \
-H "Content-Type:application/json" \
-d \
'{
"email" : "[email protected]",
"password" : "mridul123",
"oldpassword" : "mridul1234"
}' \
'https://nisb-auth.herokuapp.com/credential'