Specifies method and parameters for endpoint.