Add a method for mixed path variable and request params.