如何使用 Discourse API 上传图片

The parameter for file needs to be called files[]. See this response for an example using Postman: