MCPcopy Index your code
hub / github.com/microsoft/playwright-python / post

Method post

playwright/_impl/_fetch.py:275–302  ·  view source on GitHub ↗
(
        self,
        url: str,
        params: ParamsType = None,
        headers: Headers = None,
        data: DataType = None,
        form: FormType = None,
        multipart: MultipartType = None,
        timeout: float = None,
        failOnStatusCode: bool = None,
        ignoreHTTPSErrors: bool = None,
        maxRedirects: int = None,
        maxRetries: int = None,
    )

Source from the content-addressed store, hash-verified

273 )
274
275 async def post(
276 self,
277 url: str,
278 params: ParamsType = None,
279 headers: Headers = None,
280 data: DataType = None,
281 form: FormType = None,
282 multipart: MultipartType = None,
283 timeout: float = None,
284 failOnStatusCode: bool = None,
285 ignoreHTTPSErrors: bool = None,
286 maxRedirects: int = None,
287 maxRetries: int = None,
288 ) -> "APIResponse":
289 return await self.fetch(
290 url,
291 method="POST",
292 params=params,
293 headers=headers,
294 data=data,
295 form=form,
296 multipart=multipart,
297 timeout=timeout,
298 failOnStatusCode=failOnStatusCode,
299 ignoreHTTPSErrors=ignoreHTTPSErrors,
300 maxRedirects=maxRedirects,
301 maxRetries=maxRetries,
302 )
303
304 async def fetch(
305 self,

Calls 1

fetchMethod · 0.95