Curl single quotes vs. double quotes

I think this is because of the special ampersand character. It needs to be surrounded with double quotes because of its encoding.

You can also use CURL's -d option to specify parameters instead.