Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
goto11
· 4y ago · 0 comments
A cross-origin POST request can be initiated using a HTML form and
does
send cookies. CORS provides a safer alternative.
Comments
[–]
aobdev
4y ago
Can you elaborate on how CORS provides an alternative? Responding with a CORS policy to your own client’s preflight requests is not going to do anything for a malicious client’s form POST.