Write entire repsonse body to template
-
I am currently experiencing an issue I can't seem to resolve.
When fetching from the API, I am unsure what response body I am getting. Since the code is executed from elsewhere and params are only initialized then, I am not able to debug in the JSReport since values are set when executing.
Using Handlebars, I would like upon execution to display the entire body in the PDF-output. Is there a way?
Have tried with the #each result /each but get [object, Object]. Have also tried stringify but to no avail.If anyone has a clue, please let me know.
Thanks in advance!
-
Something like this helps?
https://playground.jsreport.net/w/anon/L27Fkm81