I decided to write a client for the chat and I can not figure out the initial request.
Analyzing the traffic and how can I not understand where the randid and id=shard2% the randid session is given at the entrance to the site, id=shard2% updated every time the chat starts
Sign in
GET/status?nocache=111111111111&randid=222222222222_____________| textViev пусто chat start
POST/start?rcs=1&firstevents=1&spid=&randid=222222222222&lang=en__| 4E {"events": [["waiting"]], "clientID": "shard2:33333333333333"} 0 receiving a message
POST/events id=shard2%на-33333333333333_______________________________| 16[["gotMessage", "текст"]]0 message sending
POST/send________________________________________________________| msg=hi&id=shard2%33333333333333 shutdown
POST/disconnect___________________________________________________| id=shard2%33333333333333