Created
October 5, 2019 04:45
-
-
Save mohitt/7326415f5eded276c3a510e068c03732 to your computer and use it in GitHub Desktop.
Headers for CORS
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: { | |
"Access-Control-Allow-Origin": "*", | |
"Access-Control-Allow-Methods": | |
"GET, POST, PUT, DELETE, PATCH, OPTIONS", | |
"Access-Control-Allow-Headers": | |
"X-Requested-With, content-type, Authorization" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment