# How should I get the raw text of a single post

**URL:** https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516
**Category:** Development
**Tags:** rest-api
**Created:** [14 בינואר,‏ 2019,‏ 1:20pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516 "2019-01-14T13:20:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Mohammad\_Etemaddar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohammad_etemaddar/32/129007_2.png) [@Mohammad\_Etemaddar](https://meta.discourse.org/u/Mohammad_Etemaddar)
#### Post date: [14 בינואר,‏ 2019,‏ 1:20pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/1 "2019-01-14T13:20:55Z")

</div>

I have the same problem with GET: [https://meta.discourse.org/posts/280744](https://meta.discourse.org/posts/280744) . It doesn’t work on meta.discourse nor on try.discourse nor our owned forum.

How should I get the single post raw text?

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [14 בינואר,‏ 2019,‏ 5:28pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/2 "2019-01-14T17:28:23Z")

</div>

> [@Updating topic body via the API](https://meta.discourse.org/t/updating-topic-body-via-the-api/61220/11):
>
> How should I get the single post raw text?

add `.json` to the end of that url.

[https://meta.discourse.org/posts/280744.json](https://meta.discourse.org/posts/280744.json)

---

<div class="post-metadata">

### Author: ![Mohammad\_Etemaddar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohammad_etemaddar/32/129007_2.png) [@Mohammad\_Etemaddar](https://meta.discourse.org/u/Mohammad_Etemaddar)
#### Post date: [14 בינואר,‏ 2019,‏ 6:34pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/3 "2019-01-14T18:34:18Z")

</div>

Thank you, it was not documented. Would you mind add .json to the document?

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [14 בינואר,‏ 2019,‏ 6:40pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/4 "2019-01-14T18:40:50Z")

</div>

Yep, I’ll update the api docs.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [15 בינואר,‏ 2019,‏ 12:44am UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/6 "2019-01-15T00:44:48Z")

</div>

Everything is documented [if you do it this way](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576).

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [17 בינואר,‏ 2019,‏ 12:40am UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/7 "2019-01-17T00:40:45Z")

</div>

> [@blake](#):
>
> Yep, I’ll update the api docs.

[Done](https://docs.discourse.org/#tag/Posts%2Fpaths%2F~1posts~1%7Bid%7D.json%2Fget).

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [25 בינואר,‏ 2019,‏ 2:56pm UTC](https://meta.discourse.org/t/how-should-i-get-the-raw-text-of-a-single-post/106516/8 "2019-01-25T14:56:47Z")

</div>


