New issue
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
FR: send()
to support multipart for attachments
#788
Comments
This is even more annoying for those who are not saving through our persistence API, and have to do so, just so they can then retrieve attachments, since Form Runner's |
In addition to sending via multipart, we could also send attachments with separate
Optionally, but only if that makes sense, we could also take a parameter to specify which attachment(s) we would like to send:
|
send()
to support multipart for attachments
What would it take? We already have code (
We "just" need to do the same but instead we need to prepare a multipart body and send it. |
Right now,
In order to send binary content, we use the
|
See also what XForms says. We could do this at the XForms submission level, but there is the difficulty of identifying attachments, for which we have reliable support outside of XForms submission, in Form Runner. So for now I suggest we do this at the Form Runner level. |
Made some progress on this. I am still wondering, however, about doing this in Form Runner vs. XForms. I started doing the former. One drawback is that for plain Solutions:
|
|
Not sure what kind of automated test we can run for this given the deep integration with the Form Runner code. Could we run a |
The
send
action must support sending attachments alongside the main payload.The text was updated successfully, but these errors were encountered: