https://developers.pipedrive.com/docs/api/v1/#!/Files/post_files 不显示请求示例,我不能通过python发送POST请求。在
我的错误是:“没有提供文件”
也许有人有这个请求的例子?在
我的代码:
import requests
with open('qwerty.csv', 'rb') as f:
r = requests.post('https://api.pipedrive.com/v1/files',
params={'api_token': 'MY_TOKEN'}, files={'file': f})
嗯,我当时很傻。在
你所需要的只是在chrome开发工具中检查请求,并使用它一段时间。在
尝试将操作解耦。在
相关问题 更多 >
编程相关推荐