Changes

198 bytes added ,  21:25, 8 March 2012
Line 17: Line 17:  
* ''ACTION'' and a set of ''ARG''s depend on particular ''RESOURCE''.
 
* ''ACTION'' and a set of ''ARG''s depend on particular ''RESOURCE''.
   −
Besides, particular request can send and receive data in [[Wikipedia:Json|JSON]] notation. If request processing was failed, the reply is a JSON directory that contains {{Code|error}} key with error message.
+
If request needs to send data, it should send Python dictionary converted to [[Wikipedia:Json|JSON]] notation.
 +
 
 +
Server all time replies with dictionary in JSON notation. If request was failed, the replied dictionary will contain {{Code|request}}, with original request, and {{Code|error}}, with error message, keys. Otherwise, dictionary keys in response will be set accordingly to the particular request.
    
== Commons ==
 
== Commons ==