Created
June 8, 2022 08:50
-
-
Save pjalusic/d75ecc3383abe247e477fc4517e8f0f8 to your computer and use it in GitHub Desktop.
test WS connectivity using curl command (use https at the end to test wss)
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 -o - --http1.1 --include --no-buffer --header "Connection: Upgrade" --header "Upgrade: websocket" --header "Host: example.com:80" --header "Origin: http://example.com:80" --header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" --header "Sec-WebSocket-Version: 13" "http://<some_server>:<server_port>/<some_path>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment