-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get posts with this api? #14
Comments
And #6 (comment) |
This is the login api right.. I need how to get posts with authorisation. It shows unauthorized. |
You should send an access token for every request. The token is response from login (see the response #6 (comment)) Read more about authentication in http://www.yiiframework.com/doc-2.0/guide-rest-authentication.html (Query parameter) |
Ok. If that is the case we have to pass only the token with request right. No need of passing username and password. Can you just send me the screen shot for posts request to clear the idea. |
Ok thanks for your comments githubjeka. |
http://localhost/api-template1/rest/web/v1/posts
shows http://prntscr.com/bpfq9v
The text was updated successfully, but these errors were encountered: