Hi,
I am trying to generate the ABHA card in PNG format using the below API
URL: https://healthidsbx.abdm.gov.in/api/v1/account/getPngCard
Input JSON:
headers: {
‘Accept-Language’: ‘en-US’,
‘accept’: ‘/’,
‘Authorization’: ‘Bearer …’,
‘X-Token’: ‘Bearer …’
}
Output:
�PNG%0A%1A%0A���%0AIHDR��%05x��%03 %08%06����%06%0A���� cHRM��z&��������������u0���`��:���%17p��Q<���%04gAMA����|�Q����%01sRGB���%1C����%06bKGD�������������%09pHYs��=���=�%01լ�t�� �IDATx��%07%14W��%1F�%1D%04A%04Ď�ذ7��ލ%1AK��h�1�j��%1Ac7��{�+�%08����H�~sβ�.,��%0A|9��6L�;3wf����|o%14 %08� %08� %08� %08� %08� �9%0C�%14%08� %08� %08� %08� %08�
API is working fine in Postman. But unable to process the output response json in code.
@Integrationsupport I am trying to decode the response and show the card image in browser in NodeJS