Uploaded July 2023 | Updated September 2026, 9 hours ago
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: ergast.com/mrd
SwitchBot API Documentation: github.com/OpenWonderLabs/SwitchBotAPI
Switchbot Code for the Function Node: gist.github.com/letsautomatenet/2601c1ed1bfc686a5c2db90db9cd66b6
Full Node-Red flow file for SwitchBot: gist.github.com/letsautomatenet/b192a92e99f0225bf69a26b97d8a070d
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
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: ergast.com/mrd
SwitchBot API Documentation: github.com/OpenWonderLabs/SwitchBotAPI
Switchbot Code for the Function Node: gist.github.com/letsautomatenet/2601c1ed1bfc686a5c2db90db9cd66b6
Full Node-Red flow file for SwitchBot: gist.github.com/letsautomatenet/b192a92e99f0225bf69a26b97d8a070d
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










