curl
anothergituser opened this issue · 5 comments
Does it support curl?
I did not understand. Can you explain?
My bad, i meant something like
curl -HContent-Type:application/json -d '{"name":"my_event","channel":"DHVMDYGF","data":"hello world"}' "http://api.pusherapp.com/apps/1480/events?auth_key=765ec374ae0a69f4ce44&auth_signature=da1721ed1663534f741f6a6a6652f08aec10f9e3a407bd1fd9560cb6cf145888&auth_timestamp=1458508975&auth_version=1.0&body_md5=76382888869197021f94a3ae4ca6ca50"
Taken from pusher homepage..
Anyhow, this was silly, i'm closing the issue
Nice work 👍
Yes it works, but you have to change http://api.pusherapp.com/apps/1480/events to http://localhost:8080/apps/APP_ID/events and the other parameters auth_key, auth_signature.
Hello again,
Im getting a lot of
E0321 17:35:22.063197 16975 connection.go:32] Error publishing message to connection &{SocketID:4845958082036516270.6455852401554598156 Socket:0xc8201a2300 CreatedAt:2016-03-21 17:31:52.370930416 +0100 CET}, websocket: close sent
in my console.
Other than that everything just works.
Anything of importance?
Thanks
It looks like a message is being sent to a closed websocket. Can you explain how you are using the software?