Skip to content

Is it possible to access devices from external app using REST API #635

Answered by pelikhan
Nasreddine asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, DeviceScript is rather different than node.js and express (or the http/https package won't work in that environment). If you need to do REST request from the device, you can use fetch

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Nasreddine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants