MCPcopy Create free account
hub / github.com/apify/impit / post

Method post

impit-python/src/async_client.rs:182–203  ·  view source on GitHub ↗
(
        &self,
        py: Python<'python>,
        url: String,
        content: Option<Vec<u8>>,
        data: Option<RequestBody>,
        headers: Option<HashMap<String, String>>,
        timeou

Source from the content-addressed store, hash-verified

180
181 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
182 pub fn post<'python>(
183 &self,
184 py: Python<'python>,
185 url: String,
186 content: Option<Vec<u8>>,
187 data: Option<RequestBody>,
188 headers: Option<HashMap<String, String>>,
189 timeout: Option<Either<f64, &str>>,
190 force_http3: Option<bool>,
191 ) -> Result<pyo3::Bound<'python, PyAny>, PyErr> {
192 self.request(
193 py,
194 "post",
195 url,
196 content,
197 data,
198 headers,
199 timeout,
200 force_http3,
201 Some(false),
202 )
203 }
204
205 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
206 pub fn patch<'python>(

Callers 5

test_form_non_asciiMethod · 0.95
requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by 4

test_form_non_asciiMethod · 0.76