Added support for multi query as a post