Skip to content

Instantly share code, notes, and snippets.

@gustavonovaes
Last active October 31, 2016 17:19
Show Gist options
  • Save gustavonovaes/bb33a99c7446ccb7894a6653c56312ed to your computer and use it in GitHub Desktop.
Save gustavonovaes/bb33a99c7446ccb7894a6653c56312ed to your computer and use it in GitHub Desktop.
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, X-XSRF-TOKEN");
header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment