Can you provide a bit more context? Are you exposing a service that accepts a number of parameters? If so, declare them as inputs of the service. The rest directive handler will parse the URL parameters for you and they will be available in the pipeline.