You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
JeetuChoudhary
changed the title
[Bug] [platform] your issue title
HttpResponseType blob type empty data, even though the request is successful
Aug 7, 2023
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:
The text was updated successfully, but these errors were encountered: