MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / post

Method post

src/client/async_impl/mod.rs:63–70  ·  view source on GitHub ↗
(
        &self,
        py: Python<'py>,
        url: PyBackedStr,
        kwds: Option<RequestParams>,
    )

Source from the content-addressed store, hash-verified

61 /// Make a POST request to the given URL.
62 #[pyo3(signature = (url, **kwds))]
63 pub fn post<'py>(
64 &self,
65 py: Python<'py>,
66 url: PyBackedStr,
67 kwds: Option<RequestParams>,
68 ) -> PyResult<Bound<'py, PyAny>> {
69 self.request(py, Method::POST, url, kwds)
70 }
71
72 /// Make a PUT request to the given URL.
73 #[pyo3(signature = (url, **kwds))]

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected