How to upload binary with a post request

Did you ever figure this out?