https://healthidsbx.abdm.gov.in/api/v1/account/getPngCard

https://healthidsbx.abdm.gov.in/api/v1/account/getPngCard

This URL is working fine. But We are not getting the response in string format. Due to this we are unable to fetch and show image of png Card to user. And also we didn’t recognize the response format .Getting response like this
�PNG

.

we are getting response something like this

�PNG\r\n\u001a\n\0\0\0\rIHDR\0\0\

We tried to encoded this.But didn’t show image.

Hi @harshada

We have tested api https://healthidsbx.abdm.gov.in/api/v1/account/getPngCard, it is working fine at our end.

@harshada we will help you reach me at 9028287050

You are using the Postman for the APIs directly,just use it in backend and then try to show the image in frontend. We are not able to show card into frontend as the encoding is not known.

Can you suggest the way to show png card to frontend as we are not able to get it we tried to decode but it didn’t give the png image please help me out.

@raj123 @devesh did you guys found any solution for this?