iavasquez opened a new issue, #2048: URL: https://github.com/apache/hop/issues/2048
### What would you like to happen? Most APIs expect binary files to be uploaded via multipart/form-data POST with boundaries encasing the file data (this is how Postman automatically Posts a file, for example). If using the "Post a file" flag in the current HTTP Post transform, it merely posts the binary data with no boundary or descriptors in the raw HTTP and it discards any Body Parameters that may have been configured on the Fields tab. See screenshot for example. A solution is to use org.apache.http.entity.mime.MultipartEntityBuilder to build the request entity using the addBinaryBody method for a file upload and addTextBody for body parameters. This would allow proper upload of binary files and the ability to post both a binary file and body parameters rather than the current limitation to one or the other.  ### Issue Priority Priority: 2 ### Issue Component Component: Transforms -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
