みなさんこんにちは。API を通じて新しいトピックを投稿しようとしているのですが、プレーンテキスト(フォーム形式ではなく)を使用すると、常に以下のメッセージと共に 422 エラーが発生してしまいます。
"**action**": "create_post",
"**errors**":[
"Title can't be blank",
"Title is too short (minimum is 5 characters)",
"Title seems unclear, most of the words contain the same letters over and over?",
"Category can't be blank"
送信した本文は以下の通りです。
{
"title": "Cannot Add Custom Rate for Retainer Rate",
"raw":"hi",
"category":22,
"displayusername": "nickclark",
"created_at":"2020-12-17"
}
content-type を multipart/form-data に設定しているのですが、これが問題でしょうか?代わりに何を使用すべきでしょうか?
ご協力をありがとうございます!