Accidentally ommitted service URL parameter in validation call

Also added encoding to URLs when used in parameters.