How to reference a tRESTRequest POST body in tJavaRow?

Six Stars

How to reference a tRESTRequest POST body in tJavaRow?

I hate a tRESTRequest with a POST route that accepts a JSON body. I want to reference the posted body in a tJavaRow component but I'm not sure how to reference individual keys. I see that I can reference the body itself with `input_row.body` but how can I reference the keys (ex. `input_row.body.email`)?

 

Thanks

Moderator

Re: How to reference a tRESTRequest POST body in tJavaRow?

Hello,

Here is a related topic:https://community.talend.com/t5/Design-and-Development/Images-in-REST-Post-as-multipart-form-data/m-...

Let us know if it is what you are looking for.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch