This does URL-encoding for the parameter values inside URL.