Login a user
Body
-
username_or_email
string Username or email address.
-
password
string Password.
POST
/users/login
curl \
--request POST '/wp-json/hivepress/v1/users/login' \
--header "Content-Type: application/json" \
--data '{"username_or_email":"string","password":"string"}'
Request examples
{
"username_or_email": "string",
"password": "string"
}