OptoBlog

Use Swagger UI to make API calls with Node-RED

Posted by Janice Colmer on May 11, 2022 9:20:23 AM

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!

 

Topics: Videos, Node-RED, groov Manage, developer

Written by Janice Colmer

Janice has worked at Opto 22 for nearly 20 years and is part of the marketing team that strives to share new and relevant content with the automation industry. She enjoys books, camping, country music, and spending time with family and friends.
Find me on:

    Subscribe to Email Updates

    Recent Posts

    Posts by Topic

    see all