Created
December 9, 2017 17:41
-
-
Save amitkhare/936b04bacdbfc7965b2ecba2497dfba5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Access-Control-Allow-Origin: *'); | |
header("Access-Control-Allow-Credentials: true"); | |
header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS'); | |
header('Access-Control-Max-Age: 1000'); | |
header('Access-Control-Allow-Headers: Origin, Content-Type, X-Auth-Token , Authorization'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment