Closed antilef closed 4 years ago
If your action is using Action::getFormData()
from within your action to parse form data:
https://github.com/slimphp/Slim-Skeleton/blob/master/src/Application/Actions/Action.php#L75-L84
You will need to modify that method to source its input from the request body instead of directly from php://input
:
protected function getFormData()
{
return $this->request->getParsedBody();
}
This is a question, not an issue. How i can testing POST routes action
i can see that test GET routes is easy but i can't test other method
i try to do this
but i receive this exception
Thank You