We just have to activate the PrestaShop WebService now by activating the item "Activate PrestaShop web service", in most cases our server has the CGI mode for PHP, so we also activate the item "Enable CGI mode for PHP" and click on SAVE
Now we can query the PrestaShop web service by retrieving the URL address as follows: http: //key@domainname.ext/api/ or http: //domainname.ext/api/? Ws_key = key
Example: https: //MNXB51PKR6LGRQWS7CNBSUI3JNBVNYSS@www.demomodule.com/api/ or https://www.demomodule.com/api/?ws_key=MNXB51PKR6LGRQWS7CNBSUI3JNBVNYSS
Note: we can also indicate the method for example & ps_method = GET or the format for example for JSON we will add to the URL & output_format = JSON .
If our domain is www.demomodule.com and our key is MNXB51PKR6LGRQWS7CNBSUI3JNBVNYSS If we do not enter the key in the first call, it will be requested by our browser, in this case it will be sufficient to indicate the key in question as the User Name, without indicating any password.