Multipart HTTP POST
A bit related to THIS other topic:
But any good solutions for constructing and posting a multipart-mime message to a remote HTTP server?
I have use cases where I want to take several “fields” along with a “file” and post it as a single multipart-mime message to a partner’s HTTP server. With the Rest Post snap, you can post a single file with a specified name as a multipart message (but only with that one “part”). I also see there seem to be some new Multipart Reader and Multipart Writer snaps that you can use to deconstruct or construct a multipart file with separate parts and boundaries and such, but you can’t really POST that to a HTTP server… If you save off a constructed multipart file and try to post it with a Rest Post snap, it will try to wrap and treat the whole thing as a single file/part like mentioned above. If you try to post it to a URL with the File Writer snap, then it will post the file, but without the “headers” (which define the boundaries, etc.)