put_json Method
PUTs a JSON to the server.
Syntax
def put_json(url: str, content: str) -> None: ...
Remarks
PUT method is used to write data to the server.
If Content is not present, and only Url is set, the data will be streamed dynamically using the on_dynamic_data_needed event. Note that some servers do not support streaming.
To PUT a regular (non-JSON) data, use put method. To post JSON data, use post_json method.
Note that any parameters you intend to pass to this method should be properly encoded before this method is called.