...
If you do not understand the terms of object-oriented programming such as instance, method, or constructor, that's okay for the rest of the tutorial. Here's how you create a Web service call:
Code Block |
---|
$webService = new PrestaShopWebservice( 'http://mystore.com/', 'ZR92FNY5UFRERNI3O9Z5QDHWKTP3YIIT', false );
|
Once the instance is created, you can access the following methods:
Method | HTTP equivalent |
---|---|
get | ( GET ) |
add | ( POST ) |
edit | ( PUT ) |
delete | ( DELETE ) |
We will develop the use of these methods in other parts of the tutorial.