How to get QR image from external API

My app is connected via API to a third party which is supposed to generate and/or communicate user QR codes to my app. Problem is my app is only receiving the QR code data in number format, the scannable QR image is not coming through.

  • I have tried to change the QR code format to image after initializing the API calls, still get the same results.
  • I have tried modifying the curl by adding ‘—output’ and changing the ‘accept’ header to ‘image/png’, I amstill failing