In curl version 7.24.0, in Mac OS X 10.8, in the man page, the examples given for the -POST data options: d, -data etc. all have a space between the option and the data. Example: --data <data>. When I do this, it doesn't work. The server gets the data "ata". I noticed that these three characters were the last three characters in the option "data". So I tried it without the space, -d<data>, and it worked.