added support for post requests thorugh body