Module Web Services API REST (developer): Difference between revisions

m
mNo edit summary
Line 39: Line 39:
= Adding a new service =
= Adding a new service =
Adding a new REST service is as easy than adding a file called '''api_mymoduleobject.class.php''' into the directory '''htdocs/module/class'''.
Adding a new REST service is as easy than adding a file called '''api_mymoduleobject.class.php''' into the directory '''htdocs/module/class'''.
You take the example into '''htdocs/commande/class/api_orders.class.php'''