Looks like the $request was missed when the URL is built for the curl function. URL wasn't posting properly.

Signed-off-by: ichbin <ichbin@ichbin.us>
Merge pull request #2 from IchBin/master

Curl URL fix