Last active
June 22, 2021 23:15
-
-
Save nietzscheson/977d1c49b9c251490a93f32648c08404 to your computer and use it in GitHub Desktop.
Testing CORS OPTIONS request with cURL
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
curl \ | |
--verbose --request OPTIONS http://localhost:8000/graphql/ \ | |
--header 'Origin: http://localhost:3000' \ | |
--header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \ | |
--header 'Access-Control-Request-Method: POST' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment