tRestRequest using POST parameter not working

One Star

tRestRequest using POST parameter not working

Hi everyone, I'm trying to send parameters to tRESTRequest by post (using postman or soapui), but it's not working when I read the data.
I've 3 component in my Job -> "tRESTRequest ----> tXMLMap -------> tLogRow"
At SOAPUI or POSTMAN I'm setting the Content-Type = application/json and send the json below:
{
"msg" : "talend post",
"numberToDial" :
}
How can I get the parameters by post using talend?
tRESTRequest
 
tXMLMAP
 

JSON
One Star

Re: tRestRequest using POST parameter not working

Hi junin,
Try to send :
{
"root": {
"msg" : "talend post",
"numberToDial" :
}
}
One Star

Re: tRestRequest using POST parameter not working

Hi kdurie, thanks a lot, the problem was fixed.