adds parsing of body content on a POST request