【发布时间】:2021-12-26 00:32:43
【问题描述】:
我有 API,我需要在 python 中使用 cURL 发送一个 .csv 文件。我不知道如何在python上编写这个命令。
curl --location --request POST 'http://**************' \
--header 'Accept: application/json' \
--header 'API-AUTH-TOKEN: **************' \
--form 'list=@"/C:/Users/1288956/Downloads/ozon_search_query_test.csv"'
-
- 表示无法显示
【问题讨论】:
-
我认为这可能对您有所帮助:stackoverflow.com/questions/50998620/…
-
RJ Adriaansen,非常感谢!