Skip to content

Instantly share code, notes, and snippets.

Forked from htp/
Created September 8, 2017 09:50
What would you like to do?
Test a WebSocket using curl.
curl --include \
--no-buffer \
--header "Connection: Upgrade" \
--header "Upgrade: websocket" \
--header "Host:" \
--header "Origin:" \
--header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \
--header "Sec-WebSocket-Version: 13" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment