Hi ,
I have result from RESTApi GET call like
{{"today":{"times":{"id":"Persembe_0","checked":true,"time":"09:00"}}}}
I am trying to pass "time":"09:00" to next RESTApi POST as JSON.
But if I try to send POST data like
{"rzv":{
"username":$RV[TC_NO_SES],
"time" :$RV[CheckTC_today_times_time],
"type" : "today"
}
}
it replace
"time" :$RV[CheckTC_today_times_time] to => "time" :09:00
and it give JSON parse error. Because 09:00 not a string.
How can I convert it to String? I tried adding
"time" :$RV[CheckTC_today_times_time_string]
but it gave me not found error like below
225249.359 8 2 2 3 rv replace start
------------------------------
{"rzv":{
"username":$RV[TC_NO_SES],
"time" :$RV[CheckTC_today_times_time_string],
"type" : "today"
}
}
------------------------------
225249.359 8 2 2 3 rv dbg rv_retrieve did not find [CheckTC_today_times_time_string]
225249.359 8 2 2 3 rv replace end
------------------------------
{"rzv":{
"username":11111111111,
"time" :,
"type" : "today"
}
}
------------------------------