Make API Calls with Node-RED | Tutorial

Опубликовано: 18 Май 2026
на канале: Let's Automate
17,382
175

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