【发布时间】:2017-10-16 12:17:29
【问题描述】:
我正在尝试使用我从here 了解到的 curl 命令上传本地文件 但是在尝试运行命令时,它不起作用并抛出错误:
{"ok":false,"error":"not_authed"}
我正在运行的命令是:
curl -F file=testsend.txt -F channels=#channel -F token='token' -F filetype=post https://slack.com/api/files.upload
【问题讨论】: