Skip to content

Instantly share code, notes, and snippets.

View RedDragon55's full-sized avatar

RedDragon RedDragon55

View GitHub Profile
@RedDragon55
RedDragon55 / curl.sh
Created May 22, 2019 13:29 — forked from exAspArk/curl.sh
Test CORS with cURL
curl -I -X OPTIONS \
-H "Origin: http://EXAMPLE.COM" \
-H 'Access-Control-Request-Method: GET' \
http://EXAMPLE.COM/SOMETHING 2>&1 | grep 'Access-Control-Allow-Origin'