I want to recreate a WebSocket ping pong connection and keep the websocket connection alive as I request api calls. The websocket api is wss://ws.cms.jyxo.cz/websocket/78f915a0-8a9b-4315-95c9-1c2617b7b6ec headers 'User-Agent' : 'Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0', 'Accept-Encoding' : 'gzip', 'Accept' : '/', 'Content-type' : 'application/json;charset=UTF-8' and I want you to send an api call to https://http.cms.jyxo.cz/api/v3/user.login.start payload {
"deviceInfo": {
"deviceType": "mobile",
"deviceOs": "android",
"appVersion": "8.0.1"
},
"context": {
"requestId": "c75f77e5-6133-4b8c-8466-b4beb01cd5ba",
"clientId": "78f915a0-8a9b-4315-95c9-1c2617b7b6ec",
"sessionId": "7fd7fa05-f92b-45be-9b25-4ac116f6738a",
"serverId": "b66d6e26-8a42-4cc5-9513-3ef09f4da7fe"
},
"payload": {
"schema": "LoginWithCredentialsFlow"
},
"capabilities": {
"async": "websockets"
}
} headers Content-Type: application/json, User-Agent: Oneplay/8.0.1 (net.cme.voyo.cz; build:4566; Android 11; Model:moto g 5G plus) and extract the bearerToken with a regex expression and show it in results