I made a plugin with a virtual page defined in a route, with its own controller & template. So far so good. But if I include a form in the template and post (on the same route), I get a routing error. How come?
Because the default route setting is to accept only GET request, you have to set the method to GET and POST.
Yup, managed to skip that section in the docs three times in a row.
Solved, thanks!