I have tried the same thing mentioned in it and I am getting below error message.
{
"data": {
"code": "rest_cannot_create",
"message": "Sorry, you are not allowed to create posts as this user.",
"data": {
"status": 401
}
},
"headers": {
"Allow": "GET"
},
"status": 401
}
I have tried the same thing mentioned in it and I am getting below error message.
the account I am using is the Administrator and I have WP BASIC Auth (https://github.com/wokamoto/wp-basic-auth) plugin installed.