Changes between Version 14 and Version 15 of XMLRPC
- Timestamp:
- Oct 13, 2008, 7:50:06 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v14 v15 50 50 == !LogIn == 51 51 '''array !LogIn( $username, $password, $language, $useragent )''' 52 This will login user. This function should be called always when starting talking with server. It returns '''token''', which must be used in later communication. If user has no account, blank username and password should be OK. As language - use [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO639] 2 letter code and later communication will be done in this language if applicable (error codes and so on). Note: when username and password is blank, status is 200 OK, because we want allow anonymous users too. Useragent cannot be empty string. 52 This will login user. This function should be called always when starting talking with server. It returns '''token''', which must be used in later communication. If user has no account, blank username and password should be OK. As language - use [http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes ISO639] 2 letter code and later communication will be done in this language if applicable (error codes and so on). Note: when username and password is blank, status is 200 OK, because we want allow anonymous users too. Useragent cannot be empty string. For $useragent use your registered useragent, also provide version number - it is possible, in some version you will change hash algo, so we need delete those hashes comparing version. 53 53 54 54 Example output: