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

Method post

impit-python/src/client.rs:179–200  ·  view source on GitHub ↗
(
        &self,
        py: Python<'_>,
        url: String,
        content: Option<Vec<u8>>,
        data: Option<RequestBody>,
        headers: Option<HashMap<String, String>>,
        timeout: Op

Source from the content-addressed store, hash-verified

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

Callers 10

test_form_non_asciiMethod · 0.95
fetchMethod · 0.45
test_form_non_asciiMethod · 0.45
requestMethod · 0.45

Calls 1

requestMethod · 0.45