Created
June 26, 2018 02:28
-
-
Save patrick99e99/b01e2dff6536afc848b4e9ce9468db3b to your computer and use it in GitHub Desktop.
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 -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: api.example.com" -H "Origin: https://www.example.com" https://api.example.com/socket | |
HTTP/2 301 | |
date: Tue, 26 Jun 2018 02:27:07 GMT | |
content-type: application/json | |
content-length: 4 | |
location: https://localhost:9999/localhost | |
server: restify | |
access-control-allow-origin: https://www.example.com | |
vary: origin | |
access-control-expose-headers: api-version, content-length, content-md5, content-type, date, request-id, response-time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment