{"id":10476852,"date":"2018-07-09T15:06:19","date_gmt":"2018-07-09T15:06:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/api-example-not-working\/"},"modified":"2018-07-09T15:06:19","modified_gmt":"2018-07-09T15:06:19","slug":"api-example-not-working","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/api-example-not-working\/","title":{"rendered":"Api Example not working"},"content":{"rendered":"<p>I have tried the code on https:\/\/gist.github.com\/ajaydsouza\/c8defd4b46e53240e376#file-tptn-api-examples-php withing a templete for a page and if I do not put a ?&gt; at the end i get an error but when i do add the ?&gt; at the end the page is blank with the exception of my header and footer.  Is there something that I am missing?<\/p>\n","protected":false},"template":"","class_list":["post-10476852","topic","type-topic","status-publish","hentry","topic-tag-api"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10476852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10476852\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10476852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}