Added timeout to CURL request and config.  Added string length to the variable request to allow for special characters.