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

Function post

src/client/mod.rs:32–38  ·  view source on GitHub ↗
(
    py: Python<'_>,
    url: PyBackedStr,
    kwds: Option<RequestParams>,
)

Source from the content-addressed store, hash-verified

30#[pyfunction]
31#[pyo3(signature = (url, **kwds))]
32pub fn post(
33 py: Python<'_>,
34 url: PyBackedStr,
35 kwds: Option<RequestParams>,
36) -> PyResult<Bound<'_, PyAny>> {
37 future_into_py(py, shortcut_request(url, Method::POST, kwds))
38}
39
40/// Make a PUT request with the given parameters.
41#[pyfunction]

Callers

nothing calls this directly

Calls 1

shortcut_requestFunction · 0.85

Tested by

no test coverage detected