added support for POST and DELETE http calls