Created
August 5, 2016 06:14
-
-
Save IftekherSunny/75340a51cdd6c79cbfe9019bfe8b420a to your computer and use it in GitHub Desktop.
This file contains 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
/****************************************************************************************** | |
* | |
* Headers for cors. | |
* | |
*****************************************************************************************/ | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE'); | |
header('Access-Control-Allow-Headers: Content-Type, X-Auth-Token, Origin, Authorization'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment