Difference between revisions of "MOR API user login"
From Kolmisoft Wiki
Jump to navigationJump to search
(→Result) |
|||
Line 9: | Line 9: | ||
==Result== | ==Result== | ||
<xml | <?xml version="1.0" standalone="yes"?> | ||
<action> | <action> | ||
<name>login</name> | <name>login</name> | ||
<status>ok</status> | <status>ok</status> | ||
</action> | </action> | ||
Everything is ok. User is logged in to the system. | Everything is ok. User is logged in to the system. | ||
Line 20: | Line 20: | ||
---- | ---- | ||
<xml | <?xml version="1.0" standalone="yes"?> | ||
<action> | <action> | ||
<name>login</name> | <name>login</name> | ||
<status>failed</status> | <status>failed</status> | ||
</action> | </action> | ||
This means that wrong username and/or password and user can't be authenticated. | This means that wrong username and/or password and user can't be authenticated. |
Revision as of 16:58, 17 February 2008
Logs in user into MOR
Request
HTML POST: http://<SERVER_IP>/mor/api/login?u=username&p=password
Result
<?xml version="1.0" standalone="yes"?> <action> <name>login</name> <status>ok</status> </action>
Everything is ok. User is logged in to the system.
<?xml version="1.0" standalone="yes"?> <action> <name>login</name> <status>failed</status> </action>
This means that wrong username and/or password and user can't be authenticated.