Multipart Form Data
You can use the JadeRestRequest class
request.dataFormat := JadeRestRequest.DataFormat_MultipartFormData;
request.addMultipartFormData( "additionalMetadata", null, "application/json", additionalMetadata.String); request.addMultipartFormData( "file", "file", "application/octet-stream", file.String);