- b2evolution CMS User Manual
- Advanced Topics
- Using the APIs
- REST API or RESTful API
- Basic HTTP Authentication (REST)
Basic HTTP Authentication (REST)
When you make a REST API call from one webserver to another, you may add HTTP username (or email address) and passwords to your RESTful HTTP requests.
b2evolution will check the provided username (or email address) and password to allow privileges on certain calls (modifying users, seeing private posts, etc.)
Errors
Error code |
HTTP response |
Message |
---|---|---|
wrong_login_pass |
403 |
Wrong login/password. |
login_attempt_failed |
403 |
There have been too many failed login attempts. This account is temporarily locked. Try again in 10 minutes. |
closed_account |
403 |
This account is closed. You cannot log in. |
system_maintenance |
503 |
You cannot log in at this time because the system is under maintenance. Please try again in a few moments. |