Added the POST API for querying information with JSON messages