workbench.Client
workbench.Client(verify=None)Client for interacting with Posit Workbench APIs.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| verify | bool, str, or None | Controls SSL certificate verification: - True (default): Verify SSL certificates using the default certificate bundle - False: Disable SSL certificate verification (not recommended for production) - str: Path to a CA bundle file or directory of certificates - None: Use environment variables (REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE) or system defaults | None |
Environment Variables
REQUESTS_CA_BUNDLE : str, optional Path to CA bundle file for SSL verification (used if verify=None) CURL_CA_BUNDLE : str, optional Alternative CA bundle path (used if REQUESTS_CA_BUNDLE not set and verify=None)
Methods
| Name | Description |
|---|---|
| get | Send a GET request. |
| post | Send a POST request. |
| put | Send a PUT request. |
| patch | Send a PATCH request. |
| delete | Send a DELETE request. |
get
workbench.Client.get(path, **kwargs)Send a GET request.
post
workbench.Client.post(path, **kwargs)Send a POST request.
put
workbench.Client.put(path, **kwargs)Send a PUT request.
patch
workbench.Client.patch(path, **kwargs)Send a PATCH request.
delete
workbench.Client.delete(path, **kwargs)Send a DELETE request.