Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cakebrewery
· 7y ago · 0 comments
Is using an image different than using JSONP? Seems that both "exploit" resources to get around CORS policy.
Comments
[–]
shados
7y ago
"simple requests" are exempts of CORS. Images is one way, but any GET request without special headers and with a specific subset of content types will quality and are exempts from CORS. Certain simple POSTs too if my memory's not too bad.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simpl...