-
Notifications
You must be signed in to change notification settings - Fork 0
API: setConnection
Adrian Preuß edited this page Jan 10, 2018
·
1 revision
API.setConnection(domain, secured);| Variable | Default | Type | Description |
|---|---|---|---|
| domain | <YourDomain> |
String |
The Endpoint for the connection |
| secured | true |
Boolean |
Is the connection secured with HTTPS/SSL? |
API.setConnection('api.example.tld', true);Result: The API will connect to https://api.example.tld/
API.setConnection('sudomain.myapp.tld', false);Result: The API will connect to http://sudomain.myapp.tld/
Created with 