I am using cURL command line utility to send HTTP POST to a web service. I want to include a file’s contents as the body entity of the POST. I have tried using -d </path/to/filename>
as well as other variants with type info like --data </path/to/filename> --data-urlencode </path/to/filename>
etc… the file is always attached. I need it as the body entity.