A tutorial on how to make API calls in Node-RED using the HTTP Request node.
We explore the flow of making http web requests with and without authentication.
Examples include calling a freely available Formula 1 API, as well as the official Smart Home SwitchBot API.
Node-RED Palettes installed:
node-red-contrib-credentials
random-generator_node-red-contrib
Formula 1 API Documentation: http://ergast.com/mrd/
SwitchBot API Documentation: https://github.com/OpenWonderLabs/Swi...
Switchbot Code for the Function Node: https://gist.github.com/letsautomaten...
Full Node-Red flow file for SwitchBot: https://gist.github.com/letsautomaten...
00:00 Intro
00:24 HTTP Node Explained
02:50 Install credentials palette dependency
03:35 Formula 1 API Example
10:07 SwitchBot API Example
15:34 Wrap-up
#nodered #switchbot #api
Auf dieser Seite können Sie das Online-Video Make API Calls with Node-RED | Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Let's Automate 06 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 17,382 Mal angesehen und es wurde von 175 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!