Make async PUT request Args: path: API endpoint path data: Request payload headers: Request headers Returns: JSON response as dictionary, or None if request failed
(self, path: str, data: Dict[str, Any], headers: Dict[str, str])
| 133 | return await self.async_request("get", path, headers=headers) |
| 134 | |
| 135 | async def put(self, path: str, data: Dict[str, Any], headers: Dict[str, str]) -> Optional[Dict[str, Any]]: |
| 136 | """ |
| 137 | Make async PUT request |
| 138 | |
| 139 | Args: |
| 140 | path: API endpoint path |
| 141 | data: Request payload |
| 142 | headers: Request headers |
| 143 | |
| 144 | Returns: |
| 145 | JSON response as dictionary, or None if request failed |
| 146 | """ |
| 147 | return await self.async_request("put", path, data=data, headers=headers) |
| 148 | |
| 149 | async def delete(self, path: str, headers: Dict[str, str]) -> Optional[Dict[str, Any]]: |
| 150 | """ |