The answer is: before need to send POST with capabilities to create session like this:
POST http://192.168.1.42:20001/session
{“capabilities”:{}}
curl --location --request POST 'http://192.168.1.42:20001/session' \
--header 'Content-Type: application/json' \
--data-raw '{"capabilities":{}}'