(
&self,
py: Python<'_>,
url: PyBackedStr,
kwds: Option<RequestParams>,
)
| 30 | /// Make a POST request to the specified URL. |
| 31 | #[pyo3(signature = (url, **kwds))] |
| 32 | pub fn post( |
| 33 | &self, |
| 34 | py: Python<'_>, |
| 35 | url: PyBackedStr, |
| 36 | kwds: Option<RequestParams>, |
| 37 | ) -> PyResult<BlockingResponse> { |
| 38 | self.request(py, Method::POST, url, kwds) |
| 39 | } |
| 40 | |
| 41 | /// Make a PUT request to the specified URL. |
| 42 | #[pyo3(signature = (url, **kwds))] |