From Hentschel
(→Software) |
(→docs) |
||
| Line 5: | Line 5: | ||
== docs == | == docs == | ||
| + | * 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 | ||
Revision as of 17:19, 24 April 2018
data
docs
- 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
- 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:
var base64encodedData = new Buffer(user + ':' + password).toString('base64');
requestPromise.get({
uri: 'https://example.org/whatever',
headers: {
'Authorization': 'Basic ' + base64encodedData
},
json: true
})