-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
I've been struggling for a while now to use HTTP.Form
to upload files to Slack. Unfrotunately for me, Slack only gives the extremely unhelpful response invalid_form_data
. After some digging on the internet, I suspect that the output of HTTP.Form
is not quite what Slack is expecting.
See, in particular these examples. One thing I noticed is that, in these examples, both filename
and the file itself are contained in the same section, whereas HTTP.Form
outputs these as completely separate sections.
If I ever get the upload to Slack working, I will post what I had to do to get it to accept the form.
Also, it doesn't seem to me that HTTP.Form
is including the line where it needs to specify the boundary.
Metadata
Metadata
Assignees
Labels
No labels