When I am trying to upload a file by following instruction, link https://slack.com/api/files.upload is reading nothing but error:
{"ok":false,"error":"not_authed"}
Please be notified that I am passing token in my command.
command I am running:
curl -F file='/home/testsend.txt' -F channels=#channel_name -F token='tokenNumber' https://slack.com/api/files.upload
I wanted to get a command to upload files to slack and found this : https://api.slack.com/methods/files.upload
When I am trying to upload a file by following instruction, link https://slack.com/api/files.upload is reading nothing but error: {"ok":false,"error":"not_authed"}
Please be notified that I am passing token in my command. command I am running: curl -F file='/home/testsend.txt' -F channels=#channel_name -F token='tokenNumber' https://slack.com/api/files.upload