Created
August 24, 2018 16:08
-
-
Save ppartarr/ffd2baba9e4c1d0a4438ea611cf9627e to your computer and use it in GitHub Desktop.
Does server handle CORS preflight OPTIONS request correclty?
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
# This should response with a 200 OK | |
curl -X OPTIONS -H "Origin: http://localhost:PORT_NUMBER" -H "Access-Control-Request-Method: GET" --verbose URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment