Encode URL parameters in 'registerEndpoint