0

I got an api which returns raw bytes on response and the filename. With one request I can only get a filename, and with the other request the web server returns the raw bytes associated to this filename. How can I create a file with that and download it on the client side, is that possible? I use vue.js (nuxt, to be specific) on the client side, if that matters.

Paper Kid
  • 3
  • 1
  • 1
    Use a `Blob` object? heres a related answer: https://stackoverflow.com/a/48769059/1346367 – Flame Jun 14 '21 at 16:13

0 Answers0