You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mailgun in particular expects email attachments to be submitted under attachment fields in multipart/form-data. However, we don't allow duplicated keys to be sent in body, because it is treated as a JS object.
Possible workaround would be to detect array in value when constructing the FormData object, and append each value individually.
Based on superfaceai/station#242
Mailgun in particular expects email attachments to be submitted under
attachment
fields inmultipart/form-data
. However, we don't allow duplicated keys to be sent in body, because it is treated as a JS object.Possible workaround would be to detect array in value when constructing the FormData object, and append each value individually.
one-sdk-js/src/lib/fetch.ts
Lines 192 to 194 in 1f03560
This makes sense because there isn't any official way to serialize array values in FormData.
Therefore the following Comlink:
Results in:
The text was updated successfully, but these errors were encountered: