# Can a canister return generated xml?

**URL:** <https://forum.dfinity.org/t/can-a-canister-return-generated-xml/1636>\
**Category:** Developers\
**Created:** [December 8, 2020, 5:19pm UTC](https://forum.dfinity.org/t/can-a-canister-return-generated-xml/1636 "2020-12-08T17:19:40Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mymikemiller](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mymikemiller/32/694_2.png) [@mymikemiller](https://forum.dfinity.org/u/mymikemiller)\
**Post date:** [June 25, 2021, 10:53pm UTC](https://forum.dfinity.org/t/can-a-canister-return-generated-xml/1636/11 "2021-06-25T22:53:38Z")

</div>

When I deploy and navigate to the page, I get back the following, with the rss tag buried under the unnecessary and bothersome html/body tags.

 ![Screen Shot 2021-06-25 at 4.09.32 PM](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/c/c10deefd8f8dd69a6f0d78b7c996a1648d936539.png)

Is it possible yet to have a canister return pure generated xml without going through a solution hosted on aws or somewhere else like @nomeata’s ic\_http\_bridge? @paulyoung mentioned implementing http\_request in [this post](https://forum.dfinity.org/t/is-it-possible-to-build-a-rest-api-in-a-canister/5355/2), but I can’t find any hints on how to do that in motoko. I realize there’s an ongoing effort to support update calls in this way; I’m fine with query calls for now.

Thanks, and sorry for the three-post question!

---

_[View the full topic](https://forum.dfinity.org/t/can-a-canister-return-generated-xml/1636)._
