New example with query parameters