handing requests with bodies correctly