made params for query to be set as variable input per request