Differences between revisions 1 and 2
Revision 1 as of 2018-08-31 23:01:04
Size: 126
Editor: PieterSmit
Comment:
Revision 2 as of 2019-11-04 23:16:39
Size: 381
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
= CORS =
 * Test cors headers with
{{{

curl -H "Origin: https://mydomain.nz" -H "Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: X-Requested-With" -X OPTIONS --verbose https://vigor.nz 2>&1 | grep -i "access\|cors"

}}}

Web security links

CORS

  • Test cors headers with

curl -H "Origin: https://mydomain.nz" -H "Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: X-Requested-With"   -X OPTIONS --verbose https://vigor.nz 2>&1 | grep -i "access\|cors"

...

Security/Web (last edited 2020-01-21 03:12:58 by PieterSmit)