in Python I have an object which has
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_check_req_return', '_oauth2_token_updater', '_rules', '_validate_oauth2_config', 'create_or_update_item', 'fetch_all_items', 'get_item', 'get_item_raw', 'json_to_item', 'logger', 'logout', 'oauth2_config', 'req_get', 'req_post', 'req_put', 'rules', 'session', 'timeout', 'url_base', 'url_rest']
object.url_rest
http://localhost:8008/rest
How do I set there the header?
I want to use this script but with authentication via token