Hello everyone, I tried to give HTTP form an action to do self PHP. But couldn;t figure it out how.
I added the POST in the route, but it results in error. So, how should I use it?
I’m quite new in using routing in the nextcloud, could anyone kindly enough to explain how to use it?
[‘name’ => ‘page#index’, ‘url’ => ‘/’, ‘verb’ => ‘GET’]
[‘name’ => ‘page#index’, ‘url’ => ‘/’, ‘verb’ => ‘POST’] - this is the route.php
I see, now I see that the ‘page#index’ means the name of the controller + function.
Thank you (again) good sir for your information. I really appreciate it