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

Method post

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

Source from the content-addressed store, hash-verified

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))]

Callers 15

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
test_send_formFunction · 0.45
test_send_jsonFunction · 0.45

Calls 1

requestMethod · 0.45

Tested by 7

test_send_formFunction · 0.36
test_send_jsonFunction · 0.36
test_send_textFunction · 0.36
test_send_bytesFunction · 0.36
test_multiple_requestsFunction · 0.36