Send a 'method' request to endpoint 'path'. Args: method: 'GET', 'POST', etc. path: relative URL path to access on endpoint **kwargs: dictionary of JSON payload to send Returns: parsed JSON response
(self, method: str, path: str, **kwargs: Any)
| 84 | |
| 85 | @abstractmethod |
| 86 | def rest(self, method: str, path: str, **kwargs: Any) -> Any: |
| 87 | """ |
| 88 | Send a 'method' request to endpoint 'path'. |
| 89 | |
| 90 | Args: |
| 91 | method: 'GET', 'POST', etc. |
| 92 | path: relative URL path to access on endpoint |
| 93 | **kwargs: dictionary of JSON payload to send |
| 94 | |
| 95 | Returns: parsed JSON response |
| 96 | """ |
| 97 | pass |