dynamic api's url passing variable - Error

Five Stars

dynamic api's url passing variable - Error

Hi
I'm trying to pass dynamic date variable in api's url. 
Here is my job

From Api's url JSON is coming and in tJavarow_1 am converting JSON to xml and storing in tfileoutputdelimited.
In url I pass specific date then get the JSON for that date only. But I want pass any variable which will store current date and get data accordingly.
Here is my trestclient component configuration.

And when I pass "myvalue" in URL it shows error like this in log

Payload: {"errorMessages":,"errors":{}}


In URL I'm passing variable like this 
http://152.196.2.84:1050/jira/rest/api/latest/search?%20worklogdate='mydate'&fields

In output am receiving the xml but empty.
Please help me for the same.
Five Stars

Re: dynamic api's url passing variable - Error

if i understood correct you want to send a request with mydate which can be any thing pass from variable. then you can use it like below. 
"http://152.196.2.84:1050/jira/rest/api/latest/search?%20worklogdate='"+TalendDate.getDate("yyyy/MM/dd")+"'&fields"

 or you can pass mydate value as 
TalendDate.getDate("yyyy/MM/dd")

please try this one.