{"id":10606560,"date":"2018-08-20T12:40:04","date_gmt":"2018-08-20T12:40:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/rest-api-xml-output\/"},"modified":"2018-08-20T12:40:04","modified_gmt":"2018-08-20T12:40:04","slug":"rest-api-xml-output","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/rest-api-xml-output\/","title":{"rendered":"Rest API XML Output?"},"content":{"rendered":"<p>Is there a way to get the the exact same information from rest api endpoints in XML?<\/p>\n<p>Example: <code>https:\/\/demo.wp-api.org\/wp-json\/wp\/v2\/posts<\/code> <\/p>\n<p>I&#8217;m not looking for an RSS of latest posts, I want to use the rest api and customize what I pull as needed like I would using: <code>https:\/\/demo.wp-api.org\/wp-jsonwp\/v2\/posts?_embed=1&amp;tags=XXX<\/code> I just need it in XML&#8230; <\/p>\n<p>Is that possible or will I have to use a json to xml proxy script? <\/p>\n","protected":false},"template":"","class_list":["post-10606560","topic","type-topic","status-publish","hentry","topic-tag-xml"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10606560","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\/10606560\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10606560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}