Replies: 0
I’m a few days struggling here and I can’t create a new user using WP REST API and define meta object in the JSON Body.
URL: http://localhost/wp-json/wp/v2/users/
Method: POST
JSON Body:
{
"username" : "test2",
"email": "test2@gmail.com",
"password": "123456",
"meta": {
"messengerId": "11223344"
}
}
The user is created but the meta object is blank “meta”: []
What am I doing wrong?