Method for making http requests. It`s using axios as a dependency. So API of HTTP is the same as axios HTTP API axios
Connector#http.request(options)
: same options axiosConnector#http.get(url, [options])
,Connector#http.delete(url, [options])
,Connector#http.post(url, data, [options])
,Connector#http.put(url,data, [options])
url
is the server URL that will be used for the requestdata
is the data to be sent as the request bodyoptions
are another options by axios API
Connector#http.external(options)
: to make requests to somewhere. Get full api of axios.
Methods for easy access to flespi.io API. More info: FlespiDocs