I have this API:
I want to save the file (myfile.PDF, myFile1.txt, ...) on my pc (with Javascript).
I invoke, without problems, the call (status-code=200) but, now? How can I save this file?
const responseCall = await fetch('http://myserver/mysystem/api/Documents/118', {
method: 'GET',
headers: {
'Authorization': 'Bearer my_access_token'
}
});
Thanks!