query for request is modified with query string