Hi team,
I have generated an access token using “https://dev.abdm.gov.in/gateway/v0.5/sessions”
Using this access token I am trying to generate a token for authenticating a request using health ID and password, so I could use this token for all subsequent health ID related requests
I am passing a valid health ID and password to this API, following is the cURL command for the same
“curl --location --request POST ‘https://healthidsbx.ndhm.gov.in/api/v1/auth/authPassword’
–header ‘Authorization: Bearer token’
–header ‘Content-Type: application/json’
–data-raw ‘{
“healthId”: “my_health_id”,
“password”: “my_password”
}’”
But I am always getting “Error: read ECONNRESET” for this request
Could someone please point out if anything is missing in the request or misconfigurations ? Would really appreciate your help and support