#!/usr/bin/env bash curl \ 'https://nsis.ru/api/v1/status/$1/?formCode=check_osago_fact_transport' \ --compressed \ -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0' \ -H 'Accept: */*' \ -H 'Accept-Language: en-US,en;q=0.5' \ -H 'Accept-Encoding: gzip, deflate, br, zstd' \ -H 'Referer: https://nsis.ru/products/osago/check/' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Content-Type: application/json' \ -H 'DNT: 1' \ -H 'Connection: keep-alive' \ -c cookies.txt -b cookies.txt \ -H 'Sec-Fetch-Dest: empty' \ -H 'Sec-Fetch-Mode: cors' \ -H 'Sec-Fetch-Site: same-origin' \ -H 'Priority: u=4'