MCPcopy Index your code
hub / github.com/authlib/authlib / put

Method put

authlib/integrations/base_client/sync_app.py:49–56  ·  view source on GitHub ↗

Invoke PUT http request. If ``api_base_url`` configured, shortcut is available:: client.put("profile", json={"name": "Hsiaoming Yang"})

(self, url, **kwargs)

Source from the content-addressed store, hash-verified

47 return self.request("PATCH", url, **kwargs)
48
49 def put(self, url, **kwargs):
50 """Invoke PUT http request.
51
52 If ``api_base_url`` configured, shortcut is available::
53
54 client.put("profile", json={"name": "Hsiaoming Yang"})
55 """
56 return self.request("PUT", url, **kwargs)
57
58 def delete(self, url, **kwargs):
59 """Invoke DELETE http request.

Calls 1

requestMethod · 0.95