WP API can't create a post
-
Hi WP API team,
I need help connected with posting. I am trying to create new post, but getting error. Here is URL that I am sending POST request. I am using Basic authorization for authorization.
https://myblog.digitalpome.com/wp-json/wp/v2/postsSending this data
{“status”:”publish”,”title”:”PageTesto”,”content”:”Standart Content”}Getting this error
{
“code”: “rest_cannot_create”,
“message”: “Sorry, you are not allowed to create new posts.”,
“data”: {
“status”: 401
}
}
- The topic ‘WP API can't create a post’ is closed to new replies.