class Webber(object):
Helper class for making http reqests to a remote.
Method | __init__ |
Return Webber Object. |
Instance Variable | session |
requests.Session object. |
Instance Variable | debug |
Debug Flag (be verbose). |
Method | set_cookie |
Set cookie. |
Method | get |
Simple http get request. |
Method | get_json |
simple get request with json input send as encoded params. |
Method | post_form_urlencoded_json |
Post with HEADER_URL_ENCODED header and dict passed as argument. |
Method | post_json |
Post with default JSON content encoding. |
simple get request with json input send as encoded params.
Parameters | url | Undocumented (type: str ) |
json_param | Undocumented (type: dict ) |