# 使用 API 更新帖子内容时出现 500 或 400 错误

**URL:** <https://meta.discourse.org/t/500-or-400-when-updating-the-content-of-a-post-using-the-api/115825>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2019年四月24日 09:30 UTC](https://meta.discourse.org/t/500-or-400-when-updating-the-content-of-a-post-using-the-api/115825 "2019-04-24T09:30:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [2019年四月24日 12:14 UTC](https://meta.discourse.org/t/500-or-400-when-updating-the-content-of-a-post-using-the-api/115825/5 "2019-04-24T12:14:51Z")

</div>

Glad you got it figured out! I’ve got a bunch of topics that are me taking to myself.

Mostly these are the docs, and they are continually updated: [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) 😉

I generally forget that there are any docs besides just seeing how it works in the browser development tools.

---

_[View the full topic](https://meta.discourse.org/t/500-or-400-when-updating-the-content-of-a-post-using-the-api/115825)._
