API entry Script


(Robov99) #1

My api works (someone else created it for me)… now I am trying to understand.

I could not find the entry script that specifies which main.php config file to load. The only thing I can ASSUME is that it loads the same as specified in the main yii file for the console app.

Am I right ?

Or where is specified what config files to use


(Alexander Makarov) #2

No. REST API is web.


(Robov99) #3

Thanks… so stupid of me… somehow my web/index disappeared a while ago so I assumed that there was a different entry script…

thank you for your support


(Jacob Moen) #4

Think WSDL and SOAP, only better (and more narrowly defined), that’s what REST is :)