I am struggling with a dummy problem.
I need to make an ajax call to download an mp4 as binary.
When I make the call from node.js or PHP with curl, with all the relevant cookies and settings correctly set, I access and download the resource seamlessy.
I am trying to do the same from a Chrome extension (manifest v3, <all_urls> in host permissions, call made with fetch with the same exact settings as the Node/curl one) but no way...I always get a 403.
Usually the service worker behaves like a backend, when all the flags are set correctly I can perform any type or cross-site request. But this time, it does not work.
I cannot share the code at this stage, but I hope someone can help.
Asked
Active
Viewed 12 times
0
Mauro
- 50
- 7