How to we get blob data from api using request method

Hi. I am trying to get pdf data from my asp.net core api.
How to we get blob data from api using request method.
As there is no option available to set responstype = blob in request method

request is just a wrapper around XMLHTTPRequest, check this for example javascript - Getting BLOB data from XHR request - Stack Overflow

1 Like

Can I use fetch to get blob data in Vue js project?

Yes you can use fetch

1 Like