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 &
-d &
In my case, @ caused some sort of encoding problem, I still prefer my old way:
@
curl -d "$(cat /path/to/file)" https://example.com