Skip to content

Instantly share code, notes, and snippets.

@bakertim
Last active August 29, 2015 14:04
Show Gist options
  • Save bakertim/dd9301509b0c3b7451a5 to your computer and use it in GitHub Desktop.
Save bakertim/dd9301509b0c3b7451a5 to your computer and use it in GitHub Desktop.
PHP: Access Control Allow Origin headers
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Headers: Authorization, Content-Type');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment