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

1 REPLY
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.