put cgi request inside ctgit_query