Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Build a REST API for a Custom SQL Query [Video]

DZone's Guide to

How to Build a REST API for a Custom SQL Query [Video]

Do you want to know how to use the SQL and Script components to build a Login service? Well, you're in luck. Watch and learn.

· Integration Zone ·
Free Resource

Are your API program basics covered? Read the 5 Pillars of Full Lifecycle API Management eBook

This video shows how to use the SQL and Script components to build a Login service. The SQL component runs a custom SQL query to check if a user exists in a database. The Script component adds custom logic to check what the SQL component returned and defines the response (user found or user not found).

Looking for more videos on enterprise integration? Watch the API Express playlist.

Establish API creation, publishing and discovery as a master practice with the API Management Playbook.

Topics:
integration ,api ,sql ,script

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}