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