Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,10 @@ def call_http(self, method: str, uri: str, content: Optional[str] = None,
The HTTP request method.
uri: str
The HTTP request uri.
content: Optional[str]
The HTTP request content.
content: str or dict, optional
The HTTP request content. Can be a string or a JSON-serializable dictionary.
Note: Although the type hint says 'str', a dictionary is accepted
and will be serialized to JSON.
headers: Optional[Dict[str, str]]
The HTTP request headers.
token_source: TokenSource
Expand Down