Answer the question
In order to leave comments, you need to log in
How to solve the problem in the work of routing, if the dynamic parameters in the URL consist of letters?
Good evening!
At the moment I'm testing the interaction of the client part with the network part on Yii2 with AJAX support for submitting an interactive form.
The network part consists of a dozen services in one action of a separate controller, and each service has its own unique URL, the parameters of which I implemented in the site config:
'api/<svc:\w+>/<subSVC:\w+>' => 'site/adminService'
\w+ are string options
app.js:138 POST http://localhost/api/dataServices/filters 404 (Not Found)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question