I'm trying to send a binary file to a server over HTTP. The beginning of the file contains headers already
I'm trying to send a file using command line version of curl for windows like so:
C:>curl -H "Content-Type:application/octet-stream" --data-binary @asdf.file http://server:1234/url
Curl is adding headers which cause a 400 Bad Request.
When I run the exact same command using the linux version of curl, the post completes?