![]() |
|
XP is just a number | |
PerlMonks |
Use Protocol::WebSocket::Client in HTTPS mode?by larrymcp (Novice) |
on Jul 19, 2018 at 06:55 UTC ( #1218808=perlquestion: print w/replies, xml ) | Need Help?? |
larrymcp has asked for the wisdom of the Perl Monks concerning the following question: I need to communicate with a Websockets server that expects HTTPS. I'm doing some initial tests using the wsconsole example script that comes with Protocol::WebSocket::Client. When the script connects to the server on port 443, the server responds:
400 Bad Request It appears that for some reason the wsconsole script is not using HTTPS, even though I did preface the URL with "wss://" and I did specify port 443. Is there something I need to do, some parameter I need to specify, to tell it to use HTTPS when communicating with the server? Thanks very much!
Back to
Seekers of Perl Wisdom
|
|