githubjeka / angular-yii2 Goto Github PK
View Code? Open in Web Editor NEWJust example of application on AngularJS with server-side Yii2 Rest API.
Just example of application on AngularJS with server-side Yii2 Rest API.
in upper right corner will see flash message "you are requesting with an invalid credential", please help :(
Hi, I I tried to test the login api through postman, and when I provided the username and password field using post, it always return username:null, password:null.. ? why is that?
It only contains folders, and no files. :(
After fixed #7 issue, when Post (Published) or Post (Draft) new data, data was successful insert in DB,bug URL can't redirect to new post info page. display following message when route to http://sitename.com/post/10:
"Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404"
return to main page and click new post message manually is ok.
https://yii2-rest-githubjeka.c9.io/rest/web/ --> Cloud9 can't get you to your requested workspace.
Hi I would like to know how to authenticate the logged in user to access certain api. If i want to simulate that, which value and where should I put the authkey? thanks
I installed your demo,
I've met a problem about
model/user
public static function findIdentityByAccessToken($token)
I think , $type = NULL parameter is needed.
and. in frontend, I change all address of backend server.
but, when I try to add/edit post, always exception throw 'User is guest'
I can't understand, is it works in your situation?
I want to know your environment.
I ran your demo at ubuntu12.04, yii2 beta, php5.5.12
Thanks!
Hi,
Whenever i tried to access api i get this response
{"name":"Not Found","message":"Page not found.","code":0,"status":404,"type":"yii\web\NotFoundHttpException"}
I want to know how to fully access an API by passing username and password in url?
Thanks in advance
it should be 'php init' instead of 'php yii init' in init server section on repo main page
Just to let you know.
Returns a 404
https://yii2-rest-githubjeka.c9.io/rest/web/
Hi,
If you please put url, like how we should access this on localhot, that would be also great.
Thanks
My application structure is
/var/www/html/angular-yii2/
|-client-angular
|-rest
My url should be http://localhost/angular-yii2/client-angular/
but, when I access that url the page redirect to http://localhost/404.
How to prevent this issue without I need to create server name alias?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.