Can't get user information
-
Hi all,
I am using second version of wp api. As we can see in documentation for getting users or user data we should type after url /users or users/ID.
here is my url https://lc13754376.on-rev.com/restapi/wp-json/wp/v2/users/ , But this returns only first user avatar info, But I need all users info. And when I am trying to get one user info it returns me
[
{
“code”: “rest_user_cannot_view”,
“message”: “Sorry, you cannot view this user”,
“data”: {
“status”: 403
}
}
]Also I want to mention I am using Basic Authentication for authentication. I have add my super admin details as username and password, but I can’t see other users.
Please help me to solve this.
- The topic ‘Can't get user information’ is closed to new replies.