Y
Y
Yujj2015-01-27 21:47:05
Yii
Yujj, 2015-01-27 21:47:05

How to make friends between Yii2 and Angular.js restfull api?

yii2 and angular.js have slightly different APIs. Is it possible to configure them to use the same api, like the one used in angular. In particular, we are interested in saving the $resource object using the PUT method and in json format in the request body.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-01-27
Protko @Fesor

do not like the ngResource approach - use anything else, the same rest-angular or your own wrappers over $http. In general https://docs.angularjs.org/api/ngResource/service/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question