MOR API user login

From Kolmisoft Wiki
Revision as of 18:47, 1 February 2008 by Admin (talk | contribs) (→‎Result)
Jump to navigationJump to search

MOR API

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.