Logo
addspay API Documentation

newPatient Copy

POST http://127.0.0.1:5001/my-clinic-2de14/us-central1/app/login

This test is written to validate the server performed a function as expected.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "args": {}, "data": "", "files": {}, "form": { "someHash": "7654321", "secondHash": "987654321asdfgh" }, "headers": { "x-forwarded-proto": "https", "host": "postman-echo.com", "content-length": "43", "accept": "*/*", "accept-encoding": "gzip, deflate", "cache-control": "no-cache", "content-type": "application/x-www-form-urlencoded", "cookie": "sails.sid=s%3AUuE9kqyAFxbvBvvH8aX3WEBLXiNgjK7-.ErzxoeVFY7HfTK%2BPjoOs%2BzaP3yU8%2BcM59adz0oo9LlA", "postman-token": "e6a118ae-af47-4fb6-ac35-3cf2bcbafd00", "user-agent": "PostmanRuntime/7.3.0", "x-forwarded-port": "443" }, "json": { "someHash": "7654321", "secondHash": "987654321asdfgh" }, "url": "https://postman-echo.com/post" }



Curl
curl -X POST 'http://127.0.0.1:5001/my-clinic-2de14/us-central1/app/login' -d '{"hpId":"JQMLFU3pbKoV03qlg8r8","password":"yash"}'

ENDPOINTS