One of the most common reactions developers have when they’re introduced to drag-and-drop technology is what I like to call The Straightjacket Syndrome: the fear that you’ll be stuck between walls due to the limited capabilities of these platforms. And that’s a problem, of course. Businesses today are more complex than ever. Every single application needs to integrate with different systems and be able to consume data and expose it to other technology.   

That syndrome is not entirely an irrational phobia, though. Many platforms with drag-and-drop capabilities enable you to deliver solutions much faster and more easily but lack the robustness to connect with other systems or build APIs for other systems to connect with you.

If you’re a developer and you’re nodding your head as you read this, let me tell you—from one developer to another developer—that that’s not the case with all low-code platforms. With OutSystems you can build as much as you want with the speed promised by visual development. That way, instead of spending, say, three hours to create a simple API, you can do it in a matter of minutes and use the other 2 hours and 56 minutes to build solutions that bring more value to your business.

Consuming and Exposing APIs with Low-Code: A Step-By-Step Guide

It’s really easy to create APIs to extend the capabilities of your OutSystems apps, even complex ones that require OAuth 2.0 tokens. Let me show you how with a real-life example. 

A few weeks ago my boss asked me to create an API that would gather information coming from two different sources:

  • An internal server that would give me the name and job role of each employee
  • A Twitter server that would give me the bio, picture, and latest tweet just by using the Twitter handle. This would require a special authorization token (OAuth 2.0 token), which would be used in a specific marketing app but that was also meant to be reused in other projects.

So, first, I created a service module that consumed the data from our internal server and from Twitter using the OutSystems platform. Later I exposed a single API that combines the data coming from those two sources and that can be reused in different applications.   

When the marketing app consumed that API, it looked something like this:

Building API with low-code

Cool, right? To see the entire tutorial and learn all the steps, I invite you to check out my latest webinar, How to Build and Use APIs with Low-Code. You’ll be building simple and complex APIs in less than 30 minutes. And use the remaining 7 hours and 30 minutes of your work day to build amazing stuff.

How to Build and Use APIs With Low-Code webinar

Additional Resources