How to use Images from submissions through api

Dear ODK team,

We have form submissions with images , we will be having a show page for each submissions with images . the problem is that images are being stored as blobs in odk PostgreSQL . I see that there is an api to download the attachments .

I tried to use that endpoint through our custom service (act as odk bridge) , it downloads the image but it kind of seems broken .

broken image

Is there any simple endpoint to show images with submission id ?

This looks like some kind of networking or credential issue. Can you try using the same API endpoint locally first and confirm that works as you expect and then try implementing it in your service?