protected function formParser(Context $context) { if ($context->getRequest()->getOriginalMethod() === 'POST') { return $context->withParsedBody($_POST ?: []); } else { throw new \Exception('Unimplmeneted'); } }