Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SockJS curl commands

Open or poll a xhr polling session:

curl -v http://localhost:8081/echo/123/123/xhr

Send to a xhr polling session:

curl -i --header "Content-Type: application/javascript" -X POST -d '["data"]' http://localhost:8081/echo/123/123/xhr_send
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment