All that remains is to activate the WebService of PrestaShop by enabling the "Activate PrestaShop web service" option. In most cases, our server has CGI mode for PHP, so we also enable the "Enable CGI mode for PHP" option and click on SAVE.
Now we can query the PrestaShop web service by calling the URL formatted 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 specify 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 as the Username, without specifying any password.