We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2100c8a commit 31ccf3dCopy full SHA for 31ccf3d
1 file changed
ox3apiclient/__init__.py
@@ -341,6 +341,14 @@ def get(self, url):
341
""""""
342
res = self.request(self._resolve_url(url), method='GET')
343
return json.loads(res.read())
344
+ def options(self, url):
345
+ """Send a request with HTTP method OPTIONS.
346
+
347
+ OX3 v2 uses this method for showing help information.
348
349
+ """
350
+ res = self.request(self._resolve_url(url), method='OPTIONS')
351
+ return json.loads(res.read())
352
353
def put(self, url, data=None):
354
"""Issue a PUT request to url with the data."""
0 commit comments