-
Notifications
You must be signed in to change notification settings - Fork 0
Credential
Mridul Ganga edited this page Oct 7, 2019
·
1 revision
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'