好友
阅读权限10
听众
最后登录1970-1-1
|
这是从浏览器复制出来的curl,大佬可以先用apifox 测试下我说的正不正确,再导出python复现下我的问题。 curl 'https://api.kream.co.kr/api/seller/inventory/stock_request/review?request_key=36f371f0-26af-4bcb-b799-11bdb6b047f4' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: zh-CN,zh;q=0.9' \
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNzM1OTU4OTcyLCJqdGkiOiJmNDY2NmEwNi1jNDJlLTRkNGUtYTcwMC02ZDQ5YzcwN2I4ZDAiLCJ0eXBlIjoiYWNjZXNzIiwiaWRlbnRpdHkiOjc4MDgxNzQsIm5iZiI6MTczNTk1ODk3MiwiY3NyZiI6IjEwZDNkZjNjLTM0MDctNDMzYS1iMTg0LWVjOGIxYzUxYWQ0ZCIsImV4cCI6MTczNTk2NjE3MiwidWMiOnsic2FmZSI6dHJ1ZX0sInVkIjoiLmVKeEZqbDFMd3pBWWhmX0tTNjQyV05KOE5HbmFYWWtYS3JONHNZSGVsYlI1NjhLNnRuUlJVZkdfMi1KQXp0MXpQampmeEVkU0VNbWxwbHhRbmg2NExOSzhVSkxsdWJiV2tBM3gtQjRhck9MbmlIUDBBLXRfRnZ3ZjJiWmVDVlN0b3NJWlNWTlhjMXBiS3lrM3pscWh0RGZ0TWpYaGVZaFlPZS1udVNpRVpabGxSakdWemViYkJhZkt2V0tfUENxSHI5QjFMdEdNdzZwMFRlampjRGx1NGFHUDJNRU00R2tQTHlCNEpYU1ZyZUZtSER0OHhub1hZcUpWeHBTQjFlNy1VRDV1b0FzbmhEdHNUc01hYm9fVGNNWkVLTUg0SXRpNzFrM2hXaUVfdjVVblRSTS5aeDVJemljN1dSZzZVZldhdWk2ckN4eG16MEUifQ.iYPPimnMiDFKzFTYRH_hK_gAXvb2cPs_HMaO6uu8oXY' \
-H 'content-type: application/json' \
-H 'origin: https://kream.co.kr' \
-H 'priority: u=1, i' \
-H 'referer: https://kream.co.kr/inventory/21935' \
-H 'sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-site' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' \
-H 'x-kream-api-version: 39' \
-H 'x-kream-client-datetime: 20250104105100+0800' \
-H 'x-kream-device-id: web;fd31e3f3-1a62-4ab0-b882-06a88135d6f6' \
-H 'x-kream-web-build-version: 6.5.1' \
-H 'x-kream-web-request-secret: kream-djscjsghdkd' \
--data-raw '{"items":[{"option":"235","product_option":{"id":2179649,"product_id":21935,"key":"235","name":"235","name_display":"235","display_order":3},"max_qty":1000,"quantity":1,"product_id":21935},{"option":"310","product_option":{"id":2179664,"product_id":21935,"key":"310","name":"310","name_display":"310","display_order":18},"max_qty":1000,"quantity":1,"product_id":21935}]}' |
|