how to add add extra action in yii2 rest api? -


i have problem yii2 rest. follow http://budiirawan.com/setup-restful-api-yii2/ begin. now, want add new action countrycontroller return "hello world". have add extrapatterns api config according 2 links ;

http://stackoverflow.com/questions/25701247/yii2-restful-api-example-to-add-a-new-action , http://stackoverflow.com/questions/25522462/yii2-rest-query

i can't comment there ask problem.

when want test helloworld action, there problem "404 : object not found". likes explain me how should config new action?


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -