Modified to log the request body during post

The post body was not logged/consumed properly.