When I access this API endpoint using the browser or Insomnia, it correctly displays the image. However, when I try to fetch this image in my Ionic Angular app using HTTP plugin, the response I receive is empty. Here is the response returned from the Angular HTTP call:
I have an API endpoint that serves an image with the following response headers:
When I access this API endpoint using the browser or Insomnia, it correctly displays the image. However, when I try to fetch this image in my Ionic Angular app using HTTP plugin, the response I receive is empty. Here is the response returned from the Angular HTTP call:
Where data should contain the blob which I need to convert into base64. It was working previously.
Here is the Angular code used to fetch it: