t;&lt;p class="list-group-item-text text-right text-nowrap"&gt;${created}&lt;/p&gt;&lt;/div&gt;`
                );
            });

            document.getElementById('postList').innerHTML = posts.join('');
        })
        .catch(err =&gt; {
            alert('Error occured' + err);
        });
</code></pre></div></div>

<p>The result returned form the service is a <code class="highlighter-rouge">JSON</code> object with the following properties:</p>

<div class="language-json highlighter-rouge"><div cl