Last updated 3 years ago
Was this helpful?
FW.http is a proxy to access any external resources over the web with the HTTP protocole.
FW.http
It is a wrapper to the fantastic library axios. FW.http holds an instance of
try { const lastPos = (await FW.http.get("http://aviation-edge.com/v2/public/flights?key=xxx®Num="+fwot.reg)).data[0]; FW.log(lastPos) } catch(error) { FW.log("oops..."); }