Back to All

Using API Json

Hi,

I saw this article https://support.snatchbot.me/docs/using-the-json-api
where there are 2 PHP code pieces.
If I have to create a similar structure inside my webhosting, where I have to put the 2 PHP files?

The url reported inside the articole is this: https://weather.snatchbot.me/?type=setCity.

Example:
In my case
https://www.myhosttest123.com/sub_dir/code1.php
and
https://www.myhosttest123.com/sub_dir/code2.php
are correct?

Thank you for support