Re: converting CURL command

2022-08-21 Thread Ryan Nowakowski
In the past I've used subprocess.run to shell out and run curl. Those were weird circumstances though. Typically I use the requests library instead. On August 21, 2022 2:27:02 PM PDT, "lone...@gmail.com" wrote: >Hello all, > > I am interested in converting the CURL command of: > >curl

Re: converting CURL command

2022-08-21 Thread Sebastian Jung
https://reqbin.com/req/python/c-xgafmluu/convert-curl-to-python-requests Am So., 21. Aug. 2022 um 23:27 Uhr schrieb lone...@gmail.com < loneso...@gmail.com>: > Hello all, > >I am interested in converting the CURL command of: > > curl 'https://www.walmart.com/chcwebapp/api/receipts' \ -H

converting CURL command

2022-08-21 Thread lone...@gmail.com
Hello all, I am interested in converting the CURL command of: curl 'https://www.walmart.com/chcwebapp/api/receipts' \ -H 'sec-ch-ua: "Chromium";v="98", " Not A;Brand";v="99", "Google Chrome";v="98"' \ -H 'accept: application/json' \ -H 'Referer: https://www.walmart.com/receipt-lookup' \ -H