API.setConnection(domain, secured);
<YourDomain>
String
true
Boolean
HTTPS/SSL
API.setConnection('api.example.tld', true);
Result: The API will connect to https://api.example.tld/
API
https://api.example.tld/
API.setConnection('sudomain.myapp.tld', false);
Result: The API will connect to http://sudomain.myapp.tld/
http://sudomain.myapp.tld/
There was an error while loading. Please reload this page.