With Slim App get/post/patch etc functions, I can register routes and Slim will invoke them automatically.
My question is how can I invoke those routes from my code?
What I want to do is to batch the requests.
For example, I may have routes such like
Then I may have a get(’/batch’), the batch route parses a JSON data to extract a sequence of sub request such as /a and /b, then it invoke the routes on /a and /b manually.