diff --git a/azure/durable_functions/models/DurableOrchestrationContext.py b/azure/durable_functions/models/DurableOrchestrationContext.py index 8b7d2507..85b72d4a 100644 --- a/azure/durable_functions/models/DurableOrchestrationContext.py +++ b/azure/durable_functions/models/DurableOrchestrationContext.py @@ -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