@IntegrationSupport i getting “bad request” on scan & share QR code
Probably payload is not correct
@IntegrationSupport, This is the url i’m using for generating QR code
https://phrsbx.abdm.gov.in/share-profile?hip-id=vyko-abha-facility&counter-id=12345
@Bhavya Please use this curl-
curl --location ‘https://dev.ndhm.gov.in/cm/v1/patients/profile/share’ \
–header ‘X-Auth-Token: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMzAxNDAxIiwic3ViIjoic2FjaGluc2FpQHNieCIsImNsaWVudElkIjoiU0JYX1RFU1RfU0MiLCJyZXF1ZXN0ZXJJZCI6IlBIUi1XRUIiLCJnZW5kZXIiOiJNIiwiZGlzdHJpY3ROYW1lIjoiQUxXQVIiLCJtb2JpbGUiOiI3NTU5NDM0MzkzIiwiZsbE5hbWUiOiJTYWNoaW4gWWFkYXYiLCJhZGRyZXNzTGluZSI6IkMvTyBWZWVyc2luZ2ggWWFkYXYgdmlsbGFnZSBnYWRsaSBraSBkaGFuaSB0ZXNoaWwgbXVuZGF3YXIgR2FkbGkiLCJoZWFsdGhJZE51bWJlciI6IjkxLTQ3MjctNjAzMi0yMTE2IiwibW9udGhPZkJpcnRoIjoiNyIsInN5c3RlbSI6IkFCSEEtQSIsInN0YXRlTmFtZSI6IlJBSkFTVEhBTiIsImRheU9mQmlydGgiOiIxOCIsInBock1vYmlsZSI6Ijc1NTk0MzQzOTMiLCJleHAiOjE2OTMzNzc3NzYsImlhdCI6MTY5Mjc3Mjk3NiwicGhyQWRkcmVzcyI6InNhY2hpbnNhaUBzYngiLCJlbWFpbCI6ImFyaWJjaGF1ZGhhcnlAZ21haWwuY29tIiwidHhuSWQiOiJlOTZhZGI5OC1hMTdjLTRmZDQtYTM0YS02NmFkN2FlMjE0ZGQiLCJ5ZWFyT2ZCaXJ0aCI6IjE5OTgifQ.VqbXpUtuSbs1sFLsh9GaG6Cp44H2O2eBH7cAPh7XOxEkrZwg8q-n2HCG6bqUqNrT9_5DTEaDrvFiYtwx2rdJOcdhhrMZeXqJqLGuywmHJ6UArCo685do69ydQeHvIojCnRHCnzSA7RPUT8vUr5gjGb2NB94DFtkeeqPknOz-QryE3r0qGCQYI7Jy9rOnrjLHF5Po-VnZtQatYiaQm1Xwa43m4UgRU-czc2V4-KfUZ6mM9b1NFayKDbT3pcO2OvRl6weA2_V8VDoxyUj1eBa-Z-n0LdPJ2Nsxg1bmneEd00bPTWVJD0FR-X08j2ZGML4pC71OHHk8n8FDu6PtQvXYVQ’ \
–header ‘Content-Type: application/json’ \
–header ‘Cookie: TS01960242=01445fed042047fb727925bb163e4c70eb20df7145e9d33ea47b6ae824c5f921b77f9fe3c2f0f319ba817c46ea5bd77f715b9d6f63’ \
–data '{
"requestId": "c7c44fe7-066f-47dd-b5c5-2626ec84d31d",
"intent": {
"type": "REGISTRATION"
},
"location": {
"latitude": "28.644800",
"longitude": "77.216721"
},
"hipDetails": {
"hipId": "S_TEST_FACILITY",
"code": "D74441293084576862S744412"
},
"source": "ANDROID"