Changes between Version 36 and Version 37 of XMLRPC


Ignore:
Timestamp:
Sep 19, 2010, 8:02:44 AM (14 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v36 v37  
    2222== !ServerInfo ==
    2323'''array !ServerInfo( )'''
    24 This simple function returns basic server info, it could be used for ping or telling server info to client.
     24This simple function returns basic server info, it could be used for ping or telling server info to client, no valid !UserAgent is needed, so it is also good for testing XML-RPC.
    2525
    2626Example output:
     
    5252== !LogIn ==
    5353'''array !LogIn( $username, $password, $language, $useragent )'''
    54 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 [wiki:DevReadFirst registered useragent], also provide version number - we need tracking version numbers of your program.
     54This 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 [wiki:DevReadFirst registered useragent], also provide version number - we need tracking version numbers of your program. If your UA is not registered, you will get error '''414 Unknown User Agent'''
    5555
    5656Example output: