REST API and database communication

Highlighted
Four Stars

REST API and database communication

Hi,

 

I'm trying to create a REST service using Talend Open Studio which will query the database and return a JSON response through an API request. Following is basic flow I need,

 

Request received -> Query data from DB -> Convert to JSON -> Send Response

 

I can't seem to put together the proper components needed for this. It would be great if someone could point me in the right direction.

 

Thanks!


Accepted Solutions
Seven Stars

Re: REST API and database communication

Hi @sahan you need to use these components

 

1.JPG

DataTeam.pl


All Replies
Seven Stars

Re: REST API and database communication

Hi @sahan you need to use these components

 

1.JPG

DataTeam.pl

Four Stars

Re: REST API and database communication

This worked! Thanks!

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now