In advanced-app i create new module api (just copy backend).
And fix route in OpenServer:
Set RestApi Settings like this: https://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start
But for url http://api/users I get 404
How fix it?
In advanced-app i create new module api (just copy backend).
And fix route in OpenServer:
Set RestApi Settings like this: https://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start
But for url http://api/users I get 404
How fix it?
Copyright © 2021 Jogjafile Inc.
In config/main.php need fix 'controllerNamespace'