Next up in the Node-RED videos series is a tutorial about using Swagger to help set up API calls.
In under 20 minutes, this new developer video from Terry Orchard will take you through all the steps you need to get a solid understanding of using Swagger UI pages to create API calls you can bring into Node-RED. Using them together, you can control all sorts of APIs from your groov device, both getting and posting data, using simple Node-RED.
Swagger is an open source software toolkit for working with APIs. It's capable of documenting, building, and testing API calls from just one place. In this video, Terry will take HTTP requests generated with Swagger UI pages and bring them into a Node-RED flow. This will cover:
- Using Swagger UI to format API requests
- Authentication methods
- Payload formatting
- Creating static and dynamic flows in Node-RED
Terry shows some examples using a weather API, then uses the groov Manage API to dynamically toggle a VPN connection from Node-RED. Watch and learn now.
Use Swagger UI to Make API Calls with Node-RED
More questions? You can find other Node-RED resources on our website, and more helpful content in the OptoForums.
As always, thanks for watching!