-
-
Notifications
You must be signed in to change notification settings - Fork 962
API
Kiril Kirkov edited this page Feb 14, 2018
·
17 revisions
Hello. Api usage is very simple. There is list with available calls:
- http://yourshop.com/api/products/bg/get - returns all products with BG translation
- http://yourshop.com/api/product/bg/2/get - return one product with BG translation and id 2
You can get another format from api response when set GET FORMAT - ?format=json/array/csv/html/jsonp/php/serialized/xml
You can add authentication when in application/config/rest.php set $config['rest_auth'] to basic/digest/session
Congratulations to https://github.com/chriskacerguis/codeigniter-restserver 👍