This module provide a common interface for all HTTP request.
Bases: object
A class that can be instantiated for access to a RESTful resource, including authentication.
if you want to add a path to resource uri, you can do:
resr2 = res.clone()
HTTP DELETE
see GET for params description.
HTTP GET
path: string additionnal path to the uri
be added to HTTP request.
params: Optionnal parameterss added to the request.
HTTP HEAD
see GET for params description.
HTTP POST
payload: string passed to the body of the request
path: string additionnal path to the uri
be added to HTTP request.
params: Optionnal parameterss added to the request
HTTP PUT
see POST for params description.
HTTP request
This method may be the only one you want to override when subclassing restkit.rest.Resource.
payload: string or File object passed to the body of the request
path: string additionnal path to the uri
be added to HTTP request.
Params_dict : | Options parameters added to the request as a dict |
---|
alias of Response
to set a new uri absolute path