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