Restful Web Services


I am just starting working on yii2.

And very first topic i am using is web apis.

So I just started to go through the tutorial, I made basic setup and its working. Use reference->

But now my question is, In the ‘Try it out’ Section, some request are there. How can I apply these request in my application. These request are not clear to me. Any help will be appreciated.


Hi All,

I am using yii basic template, for implementing restful api.

Here is the refernce, what I am using.

I made all changes, as per advance my directory structure will be like, in basic template is:

After all this set up.

I am hitting the url,

But anytime I am getting this response.

Is there any help available for this.

Thanks in advance…

[color="#006400"]/* Moved from "Tips" to "REST APIs" */[/color]