I’m trying to update the content of a post using the API. The docs at Discourse API Docs mention that I should use
PUT /posts/:id.json sending
post[raw] as a body.
This results in 400 along with:
errors: [ 'param is missing or the value is empty: post' ]
The error is complaining about a param called
post, but replacing
post in my HTTP request results in a 500 Internal Server Error response.
The post content was just
Edited comment, so I don’t think it’s anything related to the content.
Am I missing something? Are the API docs out of date?
I’m running a cloud instance at https://forums.balena.io. Not sure what the Discourse version is.