Two Stars

posting json to url using trestclient (getting an error like No content to map due to end-of-input)

Hi All,

I am very new to talend. I have a requirement where i have some data in a file and i should convert it into json format and post it to url. For this i have created a sample excel file which i have attached here and used twirtejson component to convert the data in the file to json format.when i use tlogrow to find the output of twritejson.is it like..
{
"salLoyaltyId":"9538828853",
"salDate":"2017-01-10",
"salAmount":"20000",
"saleSKUSet":[{"ssuProductCode":"FLDO","ssuPrice":"10000","ssuQty":"1"},
{"ssuProductCode":"FLDO","ssuPrice":"10000","ssuQty":"1"}]
}
but when i am using the same json to post to url i am getting error saying that No content to map due to end-of-input.Can someone please help me with this is very urgent

1 REPLY
Two Stars

Re: posting json to url using trestclient (getting an error like No content to map due to end-of-input)

Attaching three more screenshots for better understanding