JIT
Creating a websocket connection with bearer token authentication
I want to recreate a WebSocket ping pong connection and keep the websocket connection alive as I request api calls. I want to retrieve the bearer token to establish the connection with the websocket so I want you to connect to https://http.cms.jyxo.cz/api/v3/user.login.step use this as data { "payload": { "command": { "schema": "LoginWithCredentialsCommand", "email": "genebo7037@ornadar.com", "password": "Temporal10" } } } headers 'User-Agent' : 'Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0', 'Accept-Encoding' : 'gzip', 'Accept' : 'application/json', 'Content-type' : 'application/json' show it response and establish connection using the bearer token in the headers with the websocket wss://ws.cms.jyxo.cz/websocket/78f915a0-8a9b-4315-95c9-1c2617b7b6ec
Updated files
v1