Fixed bug in parser to process post requests.