Created
March 24, 2021 16:20
-
-
Save BlaayLock/dce823002e7dbaf5d4eb93046d05f20d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "https://lk.aqsi.ru/api/v1/goods/destroy" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "Content-Type: application/json;charset=utf-8" -H "Cache-Control: no-cache" -H "Referer: https://lk.aqsi.ru/lk/handbooks/goods/?page=0&sorted"%"5B0"%"5D"%"5Bid"%"5D=name&sorted"%"5B0"%"5D"%"5Bdesc"%"5D=false&pageSize=100" -H "Origin: https://lk.aqsi.ru" -H "DNT: 1" -H "Connection: keep-alive" -H "Cookie: aqsi-web-app.sid=s"%"3AqqZoZ2C-sPUa9kHdfgdfgdfgQYYnlidz.fS00Ch8i7bUxFO6ve43fefdfgfgBv0tFOBok9QX4M" --data-raw "{""goods"":[""2367385d-2762-414b-9d01-e9ce5c9551c3""]}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
cookies = { | |
'aqsi-web-app.sid': 's%3AqqZoZ2C-sPUa9sdvvrevjQYYnlidz.fS00Ch8i7sdcscrG7mbSEGq6BBv0tFOBok9QX4M', | |
} | |
headers = { | |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0', | |
'Accept': 'application/json, text/plain, */*', | |
'Accept-Language': 'ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3', | |
'Content-Type': 'application/json;charset=utf-8', | |
'Cache-Control': 'no-cache', | |
'Referer': 'https://lk.aqsi.ru/lk/handbooks/goods/?page=0&sorted%5B0%5D%5Bid%5D=name&sorted%5B0%5D%5Bdesc%5D=false&pageSize=100', | |
'Origin': 'https://lk.aqsi.ru', | |
'DNT': '1', | |
'Connection': 'keep-alive', | |
} | |
data = '{goods:[2367385d-2762-414b-9d01-e9ce5c9551c3]}' | |
response = requests.post('https://lk.aqsi.ru/api/v1/goods/destroy', headers=headers, cookies=cookies, data=data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment