I've implemented Alto Router in my MVC framework and it's routing Get requests using the URI perfectly.
It's got to the point where i need to start dealing with forms and POST data, so ive set up a route to deal with a POST request, the request works and i get taken to the post requests route e.g domain.com/contact/send/
Unfortunately i don't get the POST data in the params array on the match.
I'm not sure if im getting myself confused as to whether the router should do this or not.
If the router is not supposed to handle getting the POST data, could you point me in the right direction of how i could ideally handle the POST data?
If the router is supposed to handle POST data, home comes i can't see it in the params array of the match?
Here's a snippet of the POST request:
$router->map('POST','/contact/send/,'contact#send', 'contact_form_send');
$match = $router->match()
Any help will be much appreciated, thanks