Better HN
topnewbestaskshowjobs
Log inSign up

wormhole11

1 karma · joined Nov 29, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

>In your example about bypassing the cross-origin policy, POST requests in general are allowed to be cross-origin by default, so unless you're explicitly blocking that using something like an iFrame, a 3rd-party script can already just send requests directly.

Not sure what you're trying to say here, as far as I know CORS is applicable to all HTTP methods except OPTIONS when using Ajax. If you're saying that it's allowed using Forms, then that's allowed for all HTTP methods as we're navigating away from the page.