Raw Requestor¶
-
class
moco_wrapper.util.requestor.
RawRequestor
¶ The Raw Requestor is a test requestor that saves all arguments into and object and returns it.
Warning
Use this requestor only for testing.
-
request
(method, path, params=None, data=None, **kwargs) → dict¶ Request the given ressource
Parameters: - method – HTTP Method (eg. POST, GET, PUT, DELETE)
- path – Path of the ressource (e.g.
/projects
) - params – Url parameters (e.g.
page=1
, query parameters) - data – Dictionary with data (http body)
- kwargs – Additional http arguments.
Returns: Request objects
-