Changed request timeout to be 30 seconds
Fixed passing params to curl in request