3 ms·
Sure you can, you can make any request you want without CORS, the content is just opaque to you (for example you can display an image but not manipulate its pix
by inglor 8y ago
Sure you can, you can make any request you want without CORS, the content is just opaque to you (for example you can display an image but not manipulate its pixels).
You do this for example with `fetch('./any-resource', {mode: 'no-cors'})`.
You can then for example do a `.then(x => x.blob())` and then use the resulting blob as an image.