GET Get detailed information on the Eagle App currently running. In most cases, this could be used to determine whether certain functions are available on the user's device.
GET
Sample Code:
var requestOptions = { method: 'GET', redirect: 'follow' }; fetch("http://localhost:41595/api/application/info", requestOptions) .then(response => response.json()) .then(result => console.log(result)) .catch(error => console.log('error', error));
Results Returned:
{ "status": "success", "data": { "version": "1.11.0", "prereleaseVersion": null, "buildVersion": "20200612", "execPath": "/Users/augus/Projects/Eagle App/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Helper (Renderer).app/Contents/MacOS/Electron Helper (Renderer)", "platform": "darwin" } }
Last updated 4 years ago
Was this helpful?