Login/password authentication
Starting with version 0.1.4 it is possible to use login/password authentication
Warning! This feature is still in experimantal state.
Log in
POST /<yourcompany>/login/
Login and password should be in POST body variable data.
data: {"user":"<username>","password":"***"}
In case of successfull login attempt API returns new temporary authentication key to be used as described in section authentication.
{
"status":200,
"message":"login OK test",
"data":{"key":"<new temporary auth key>"},
...
}
Log out
GET /<yourcompany>/logout/
Profit API v 0.1.4.2 beta, © Intellisoft OÜ 2017 - 2024