-
-
Notifications
You must be signed in to change notification settings - Fork 580
How To Use the RESTful API and Add new Endpoints
♚ PH⑦ Soria ♛ edited this page Nov 5, 2016
·
12 revisions
-
[PHP class helps to retrieve the data from the API natively integrated to pH7CMS}(https://github.com/pH7Software/pH7CMS-HTTP-REST-Push-Data)
-
If you need to use the API with Java, Swift, Objective-C, please have a look to the PHP class to know how it works and adapt it to another language.
-
For security reason, to use the API for your website, you need an API key. It can be found in ~/_protected/app/configs/config.ini file once you finished the installation of pH7CMS.
-
More details about the needed parameters that the API needs to receive for retrieving the data
- You can add new endpoints in by adding new methods into the User Controller of the "api" module.