How to use parameters from JSON file as a input to REST Web Service

One Star

How to use parameters from JSON file as a input to REST Web Service

I am trying to call a REST web service (it is POST/PUT) and collect response from it. The input parameters to this service is a row from a table (mssql DB). So i'm trying to get data from table, creating a JSON file using it and use the same JSON as input to tREST/tRESTClient Component. My Job looks like this:
tMssqlInput---->> tMap--->>tFileOutputJSON ====>> (onSubJobOk) ===>> tFileInputJSON---->tREST/tRESTClient--->> tLogRow
But I'm stucked here: How pass parameters from that JSON file as input to REST component.
Please help me.......

Thanks
Community Manager

Re: How to use parameters from JSON file as a input to REST Web Service

Hi 
I don't understand your job design, why you write a json file and read data back again from json file?
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business