Skip to content

Instantly share code, notes, and snippets.

@ImanMh
Created August 16, 2016 09:57
Show Gist options
  • Save ImanMh/259ada2275dc2a7fe8bf506c89a27111 to your computer and use it in GitHub Desktop.
Save ImanMh/259ada2275dc2a7fe8bf506c89a27111 to your computer and use it in GitHub Desktop.
tests cross origin access or cors usinc curl
curl -I http://pathtosite.com
#this should contain Access-Control-Allow-Origin: header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment