Set query db binding on http call