Added POST method query processing