Thanks for the reply sir!
i call JSON.stringify(objs) to create the json object as what i needed according to the report. And Yes! report is working fine in html recipe.
However "json:true, body: data" didn't work out.
for more clarity:
when i wrote below line manually report working perfectly.
data: {"trainStops":[{"id":"3007","name":"Colombo Fort","arr":"07:05","dept":"07:06"},{"id":"3008","name":"Airport","arr":"07:00","dept":"07:01"}] }
console.log(arrayX) gives below output:
[{"id":"3007","name":"Colombo Fort","arr":"07:05","dept":"07:06"},{"id":"3008","name":"Airport","arr":"07:00","dept":"07:01"}]
but when i'm using below code report shows as an empty page.
data: {"trainStops": arrayX }
My English is not so good, sorry for that and hope you understood my problem anyway. :D