# Récupérer post.raw ne fonctionne qu'immédiatement après la création du post

**URL:** <https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267>\
**Category:** Development\
**Created:** [Avril 16, 2019, 11:17 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:** 6

<div class="post-metadata">

**Author:** ![paresy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paresy/32/96471_2.png) [@paresy](https://meta.discourse.org/u/paresy)\
**Post date:** [Février 9, 2021, 1:19 UTC](https://meta.discourse.org/t/retrieving-post-raw-only-works-right-after-creating-post/115267/6 "2021-02-09T13:19:37Z")

</div>

Est-ce toujours vrai ? Lors de la modification d’un article, la requête est par exemple vers /posts/13.json.

Existe-t-il une API JS à cet effet ? Ou une API JS pour effectuer une requête authentifiée ?

@Mathijs_V, pourriez-vous partager votre code ?

Merci !

---

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