-
-
Save MCheli/d0e90e96b8afccfa55613f2e6b6274c7 to your computer and use it in GitHub Desktop.
Testing CORS OPTIONS request with curl
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
curl \ | |
--verbose \ | |
--request OPTIONS \ | |
https://academic-dev1.cloud.thingworx.com/Thingworx/Things/testingCORS/Properties/test \ | |
--header 'Origin: http://localhost:3000' \ | |
--header 'appKey: 29506e99-bca6-4522-b60e-55bd891716f7' \ | |
--header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \ | |
--header 'Access-Control-Request-Method: GET' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment