Closed simonwillcock closed 8 years ago
:+1:
would be nice to have a test for this :(
merged as a4e98fc0e9be04741589bae6128a9529f4d039d1, thanks!
Ah, yeah sorry I didn't think about a test! I'm still learning the ins and outs of unit testing. But thanks for the merge :)
The Slack API requires that files uploaded must use multipart/form-data otherwise you are returned the
invalid_array_arg
error.Changing the request form key to formData will make the request library use multipart/form-data as seen in the example in the readme