161
rated 0 times
[
167]
[
6]
/ answers: 1 / hits: 38737
/ 10 Years ago, fri, july 11, 2014, 12:00:00
I see that there is websocket endpoint which works out fins with Java tests. In logs I see
Connecting to: ws://127.0.0.1:8080/76f48a44-0af8-444c-ba97-3f1ed34afc91/tweets
Just like any other REST
API I would like to hit it via browser or curl, but when I do that I see
➜ tweetstream git:(master) ✗ curl ws://127.0.0.1:8080/b9b90525-4cd4-43de-b893-7ef107ad06c2/tweets
curl: (1) Protocol ws not supported or disabled in libcurl
and
➜ tweetstream git:(master) ✗ curl http://127.0.0.1:8080/b9b90525-4cd4-43de-b893-7ef107ad06c2/tweets
<html><head><title>Error</title></head><body>Not Found</body></html>%
Is there a way to test websocket APIs with browser/curl?
More From » curl