We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the following JSON body I must match:
msg: { body: "test", attachments: [att1, att2...] }
And headers: {'Content-Type' => 'multipart/form-data'}
{'Content-Type' => 'multipart/form-data'}
How do I have to write my code to send attachments? Tried f1 = File.open(dir) and putting f1 into attachments: doesn't work.
f1 = File.open(dir)
f1
attachments
The text was updated successfully, but these errors were encountered:
@pedroadame posted an answer over here:
#84
Sorry, something went wrong.
No branches or pull requests
Given the following JSON body I must match:
And headers:
{'Content-Type' => 'multipart/form-data'}
How do I have to write my code to send attachments?
Tried
f1 = File.open(dir)
and puttingf1
intoattachments
: doesn't work.The text was updated successfully, but these errors were encountered: