22 lines
1.7 KiB
Plaintext
22 lines
1.7 KiB
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
curl 'https://nsis.ru/handle-form/1314895756519276544/' \
|
||
|
--compressed \
|
||
|
-X POST \
|
||
|
-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: multipart/form-data; boundary=---------------------------330424154228665440354056616977' \
|
||
|
-H 'Origin: https://nsis.ru' \
|
||
|
-H 'DNT: 1' \
|
||
|
-H 'Connection: keep-alive' \
|
||
|
-H 'Cookie: __admin_identity=303e52d06800f984bacc16e01fc8b5d3; session-cookie=1823b7a9083bd9a9eaada86db4819f5b9ae81958117396cce64fc9bee2d791a890ce1ff64b2c9e6c6b4850b9ddee7b0e' \
|
||
|
-H 'Sec-Fetch-Dest: empty' \
|
||
|
-H 'Sec-Fetch-Mode: cors' \
|
||
|
-H 'Sec-Fetch-Site: same-origin' \
|
||
|
-H 'Priority: u=0' --data-binary $'-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="licenseplate"\r\n\r\n\u041c976\u041c\u041c777\r\n-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="requestdate"\r\n\r\n2025-02-13\r\n-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="idExternal"\r\n\r\n\r\n-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="vin"\r\n\r\n\r\n-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="bodynumber"\r\n\r\n\r\n-----------------------------330424154228665440354056616977\r\nContent-Disposition: form-data; name="chassisnumber"\r\n\r\n\r\n-----------------------------330424154228665440354056616977--\r\n' \
|
||
|
| jq ".isSuccess"
|