Call the API with a PUT request. Args: url (str): Resource location relative to the base URL. params (dict or None): Query-string parameters. data (dict or None): Request body contents. files (dict or None: Files to be passed to the request.
(self, url, params=None, data=None, files=None, **kwargs)
| 165 | return self.call_api("DELETE", url, params=params, **kwargs) |
| 166 | |
| 167 | def put(self, url, params=None, data=None, files=None, **kwargs): |
| 168 | """Call the API with a PUT request. |
| 169 | |
| 170 | Args: |
| 171 | url (str): Resource location relative to the base URL. |
| 172 | params (dict or None): Query-string parameters. |
| 173 | data (dict or None): Request body contents. |
| 174 | files (dict or None: Files to be passed to the request. |
| 175 | |
| 176 | Returns: |
| 177 | An instance of ResultParser or ErrorParser. |
| 178 | """ |
| 179 | return self.call_api("PUT", url, params=params, data=data, files=files, **kwargs) |
| 180 | |
| 181 | def post(self, url, params=None, data=None, files=None, **kwargs): |
| 182 | """Call the API with a POST request. |