-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Tried both copy as curl-bash and copy as curl-cmd (working on windows machine here, ananconda 3)
Here is the call:
uncurl "curl 'https://www.bestbuy.com/cart/api/v1/addToCart'
-H 'authority: www.bestbuy.com'
-H 'accept: application/json'
-H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36'
-H 'content-type: application/json; charset=UTF-8'
-H 'origin: https://www.bestbuy.com'
-H 'sec-fetch-site: same-origin'
-H 'sec-fetch-mode: cors'
-H 'sec-fetch-dest: empty'
-H 'referer: https://www.bestbuy.com/site/evga-ko-ultra-gaming-nvidia-geforce-rtx-2060-6gb-gddr6-pci-express-3-0-graphics-card-black-gray/6403801.p?skuId=6403801'
-H 'accept-language: en-US,en;q=0.9'
-H 'cookie: redacted'
--data-binary '{"items":[{"skuId":"6403801"}]}'
--compressed"
File "", line 13
--data-binary '{"items":[{"skuId":"6403801"}]}' \
^
SyntaxError: invalid syntax