HTTP POST multipart/form-data
I need to make a POST to an API in multipart from Globiflow. To keep the body from being url-encoded per the default (see "Please Note" on this page: https://workflow-automation.podio.com/help/remote-post-get.php), I need a "Content-Type" in the header. If I put "Content-Type: multipart/form-data; Barrier=--123456" in the header, GF puts out a blank body (I am checking what GF is sending using Pipedream). If I put "Content-Type: multipart; Barrier=--123456" in the header, everything goes through fine, but I think the API isn't processing the message because "/form-data" is missing. And, of course, if I remove "Content-Type: multipart; Barrier=--123456" from the header and put it in the top of the body, the body is url-encoded and thus unreadable. Any ideas how I can send multipart/form-data using from GF? Thanks!
Please sign in to leave a comment.
Comments
1 comment