Upgrading WebSocket Connections
Lets try to upgrade our WebSocket by following step by step instructions.
We'll cover the following
How to generate cURL
The easiest way to generate the cURL
request is as follows:
-
First,
right-click
the request labelledwebsocket?token=undefined&vsn=2.0.0
under the “Name” column and then expandCopy
. -
Then select the “
Copy as cURL
” option. This will copy acURL
request to aws
protocol URL. -
Paste the
cURL
request into your favorite editor and replacews://
withhttp://
. -
Run this request in the terminal with the
-i
flag added.
We’ll end up with a request that looks like this:
Get hands-on with 1400+ tech skills courses.