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