Translations:S2S ping/10/ru: Difference between revisions
(Created page with "Пример curl-запроса: <pre> curl 'https://kaminari.systems/v2/ping' \ -H 'accept: application/json' \ -H 'accept-language: en-US,en;q=0.9' \ -H 'cache-control: no-cache' \ -H 'content-type: text/plain;charset=UTF-8' \ -H 'origin: https://test.com' \ -H 'pragma: no-cache' \ -H 'referer: https://test.com/' \ -H 'user-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' --...") |
No edit summary |
||
| Line 2: | Line 2: | ||
<pre> | <pre> | ||
curl 'https://kaminari.systems/v2/ping' \ | curl 'https://kaminari.systems/v2/ping' \ | ||
-H 'accept: application/json' \ | -H 'accept: application/json' \ | ||
-H 'accept-language: en-US,en;q=0.9' \ | -H 'accept-language: en-US,en;q=0.9,uk;q=0.8' \ | ||
-H 'cache-control: no-cache' \ | -H 'cache-control: no-cache' \ | ||
-H 'content-type: | -H 'content-type: application/json;charset=UTF-8' \ | ||
-H 'origin: https://test.com' \ | -H 'origin: https://test.com' \ | ||
-H 'pragma: no-cache' \ | -H 'pragma: no-cache' \ | ||
-H 'referer: https://test.com/' \ | -H 'referer: https://test.com/' \ | ||
-H 'user-agent: Mozilla/5.0 ( | -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36' \ | ||
-H 'x-original-ip: 127.0.0.1' \ | |||
-H 'x-forwarded-for: 192.168.0.1' \ | |||
-H 'sec-ch-ua-arch: "x86"' \ | |||
-H 'sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"' \ | |||
-H 'sec-ch-ua-full-version: "129.0.6668.100"' \ | |||
-H 'device-memory: 8' \ | |||
-H 'dpr: 2' \ | |||
-H 'sec-ch-ua-mobile: ?0' \ | |||
-H 'sec-ch-ua-model: ""' \ | |||
-H 'sec-ch-ua-platform: "macOS"' \ | |||
-H 'sec-ch-ua-platform-version: "14.5.0"' \ | |||
-H 'viewport-width: 981' \ | |||
--data-raw '{"kmnrKey":"XXXXXXXX","kmnrId":"1125570260","sub1":"test","sub2":"1001","sub3":"10","sub4":"1385282124113622","sub5":"222","sub6":"555666","sub7":"8833705265931305"}' | --data-raw '{"kmnrKey":"XXXXXXXX","kmnrId":"1125570260","sub1":"test","sub2":"1001","sub3":"10","sub4":"1385282124113622","sub5":"222","sub6":"555666","sub7":"8833705265931305"}' | ||
--compressed | --compressed | ||
</pre> | </pre> | ||
Latest revision as of 14:18, 19 December 2025
Пример curl-запроса:
curl 'https://kaminari.systems/v2/ping' \
-H 'accept: application/json' \
-H 'accept-language: en-US,en;q=0.9,uk;q=0.8' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json;charset=UTF-8' \
-H 'origin: https://test.com' \
-H 'pragma: no-cache' \
-H 'referer: https://test.com/' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36' \
-H 'x-original-ip: 127.0.0.1' \
-H 'x-forwarded-for: 192.168.0.1' \
-H 'sec-ch-ua-arch: "x86"' \
-H 'sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"' \
-H 'sec-ch-ua-full-version: "129.0.6668.100"' \
-H 'device-memory: 8' \
-H 'dpr: 2' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-model: ""' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-ch-ua-platform-version: "14.5.0"' \
-H 'viewport-width: 981' \
--data-raw '{"kmnrKey":"XXXXXXXX","kmnrId":"1125570260","sub1":"test","sub2":"1001","sub3":"10","sub4":"1385282124113622","sub5":"222","sub6":"555666","sub7":"8833705265931305"}'
--compressed