# Retrieving post.raw only works right after creating post

**URL:** <https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267>\
**Category:** Development\
**Created:** [April 16, 2019, 11:17pm UTC](https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267 "2019-04-16T23:17:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [April 17, 2019, 7:38am UTC](https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267/4 "2019-04-17T07:38:52Z")

</div>

> [@Mathijs\_V](#):
>
> I had a sort of workaround to get the .json by retrieving the /t/raw/{topicid}/{postid}.json but that was really ugly and there must be a better way.

Yeah that is pretty much your only option.

---

_[View the full topic](https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267)._
