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
In questa pagina del sito puoi guardare il video online Make API Calls with Node-RED | Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Let's Automate 06 luglio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 17,382 volte e gli è piaciuto 175 spettatori. Buona visione!