How to create a new and secure REST API ?


(Traprajith) #1

How to create a new and secure REST API ?

What are the basics to create a rest API in Yii2

I had created REST API’s Yii1, any specific points?


(Harry Tang) #2

Hi,

There are many docs for that, you can start with the yii2 rest doc: https://www.yiiframework.com/doc/guide/2.0/en/rest-quick-start

I also learning this too, and this is my API with yii 3.0 dev: https://github.com/powerkernel/yii-api-starter-kit