Fixed sending query using POST http method