Hey @kartikraja,
In the examples, it would have been looping through an array [ ]
of data in the response.
It would have needed to use the handlebars {{#each}} ... {{/each}}
block to do this but because that API youâre calling is just a single object { }
, it doesnât need to use this block.
You would only really need to do something like this to see the response values in the table:
<table>
<tr>
<th>Title</th>
<th>Genre</th>
</tr>
<tr>
<td>{{response.Title}}</td>
<td>{{response.Genre}}</td>
</tr>
</table>
This post by @singhsivcan might be able to help you out, heâs created a template that would allow you to present any JSON response in a table.
Just doing a quick check, it would look something like this for you: