Skip to content

Instantly share code, notes, and snippets.

@AndreyKurilo
Created November 23, 2021 16:39
Show Gist options
  • Save AndreyKurilo/a38cac8987e357bab0015f9e2d4ada5f to your computer and use it in GitHub Desktop.
Save AndreyKurilo/a38cac8987e357bab0015f9e2d4ada5f to your computer and use it in GitHub Desktop.
Curl на создание юзера
curl "https://playground.learnqa.ru/ajax/chrome/get_token/"-H "authority: playground.learnqa.ru" -H "pragma: no-cache" -H "cache-control: no-cache" -H "sec-ch-ua: \" Not A;Brand\";v=\"99\", \"Chromium\";v=\"96\", \"Google Chrome\";v=\"96\"" -H "accept: */*" -H "content-type: application/x-www-form-urlencoded; charset=UTF-8" -H "x-requested-with: XMLHttpRequest" -H "sec-ch-ua-mobile: ?0" -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36" -H "sec-ch-ua-platform: \"Windows\"" -H "origin: https://playground.learnqa.ru" -H "sec-fetch-site: same-origin" -H "sec-fetch-mode: cors" -H "sec-fetch-dest: empty" -H "referer: https://playground.learnqa.ru/chrome/network_dz/" -H "accept-language: ru,en;q=0.9,en-US;q=0.8,ru-RU;q=0.7" -H "cookie: chrome_auth_cookie=85509a67e06fad7b59712e80f5014eb2; token=5807f7b341093caa1a1d91bff035b0d5; user_token=UserX" --data-raw "name=UserX"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment