From Hentschel
Jump to: navigation, search
(docs)
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
== docs ==
 
== docs ==
 +
* mac: d8d5b9000000ed09
 +
* cloud id: 0092d8 - 0092D8
 +
* install code: 3b7e3130a36986c4 - 3B7E3130A36986C4
 
* local API https://rainforestautomation.com/wp-content/uploads/2017/02/EAGLE-200-Local-API-Manual-v1.0.pdf
 
* local API https://rainforestautomation.com/wp-content/uploads/2017/02/EAGLE-200-Local-API-Manual-v1.0.pdf
 
* cloud uploader spec https://rainforestautomation.com/wp-content/uploads/2017/02/Rainforest-Cloud-Uploader-Specification-v2.0-3.pdf
 
* cloud uploader spec https://rainforestautomation.com/wp-content/uploads/2017/02/Rainforest-Cloud-Uploader-Specification-v2.0-3.pdf
 +
 +
== Software ==
 +
* putting basic auth into headers using node.js:
 +
<pre>var base64encodedData = new Buffer(user + ':' + password).toString('base64');
 +
requestPromise.get({
 +
  uri: 'https://example.org/whatever',
 +
  headers: {
 +
    'Authorization': 'Basic ' + base64encodedData
 +
  },
 +
  json: true
 +
})
 +
</pre>

Latest revision as of 17:39, 13 May 2018

RainforestEagle01.jpg

data

docs

Software

  • putting basic auth into headers using node.js:
var base64encodedData = new Buffer(user + ':' + password).toString('base64');
requestPromise.get({
  uri: 'https://example.org/whatever',
  headers: {
    'Authorization': 'Basic ' + base64encodedData
  },
  json: true
})