Rest API tutorial for advanced template


(Peter Verbrugge) #1

I am trying for a couple of days to get a simple REST API to work with an advanced template. I have tried many tutorials and setups, but none seem to be actually work.

I don’t get any further then a simple listing of all records. Asking for 1 record by id results in 404 errors.

I am looking for a basis step by step tutorial that actually will work with the latest version of Yii. Can someone please help me out?