Hi all, I’m trying to post a new topic via the API but keep getting the 422 error with the below message whenever I try to use plain text (rather than a form):
"**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"
Here’s the body:
{
"title": "Cannot Add Custom Rate for Retainer Rate",
"raw":"hi",
category":22,
"displayusername": "nickclark",
"created_at":"2020-12-17"
}
I’m using content-type = multipart/form-data … is that the problem? what should I be using?
Thanks for the help!