Send multiple files via HTTP from server to server
I’m looking to send some files over HTTP from one server to another, and am wondering what the best MIME type and method to do so is. Currently I have a RESTful HTTP server and have an endpoint which may return one or more files, and am returning the contents as json with the text in the json body. This works well for text files, but for a binary format, I would have to base64 encode the contents which isn’t an option.