added full URL encoding to request object for parameters