03-24-2018 06:23
03-24-2018 06:23
Hey devs,
is there any example which shows how to communicate with a rest-api from the companion?
I basically think about POST and GET request to a website with json response.
Looking forward to your answers.
Best regards,
Daniel
03-25-2018 14:22
03-25-2018 14:22
Hi,
I found https://github.com/Fitbit/sdk-bart to be good a example. More specifically you will see a usage of Fetch in https://github.com/Fitbit/sdk-bart/blob/master/companion/bart.js .
Good luck !
Jo