Curl URL fix

The URL wasn't building properly. Not sure of the syntax since I'm not a pro php coder. But I separated the problem between two lines and added in the $request variable that was missed. Seems to be working now.

Signed-off-by: ichbin <ichbin@ichbin.us>