I am trying to call fetch modes api. i am getting request rejected issue.
FYR screenshot attached below,
I am passing X-CM-ID : sbx, Authorization: {{token}}
I am trying to call fetch modes api. i am getting request rejected issue.
FYR screenshot attached below,
I am passing X-CM-ID : sbx, Authorization: {{token}}
curl -X POST “https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes” -H “accept: /” -H “X-CM-ID: sbx” -H “Content-Type: application/json” -d “{“requestId”:“571a92c5-ba36-412e-985a-f4502f674868”,“timestamp”:“2022-07-07T07:25:26.971Z”,“query”:{“id”:“deepak001@sbx”,“purpose”:“LINK”,“requester”:{“type”:“HIP”,“id”:“test HIP”}}}”
curl -X POST “https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes” -H “accept: /” -H “X-CM-ID: sbx” -H “Authorization: token” “Content-Type: application/json” -d “{“requestId”:“571a92c5-ba36-412e-985a-f4502f674868”,“timestamp”:“2022-07-07T07:25:26.971Z”,“query”:{“id”:“deepak001@sbx”,“purpose”:“LINK”,“requester”:{“type”:“HIP”,“id”:“test HIP”}}}”
token i did not paste