mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: route.fetch.postData in java (#19527)
This commit is contained in:
parent
e99323dd90
commit
d01952576d
@ -480,8 +480,14 @@ If set changes the request URL. New URL must have same protocol as original one.
|
|||||||
|
|
||||||
If set changes the request method (e.g. GET or POST).
|
If set changes the request method (e.g. GET or POST).
|
||||||
|
|
||||||
### option: Route.fetch.postData = %%-js-python-csharp-fetch-option-post-data-%%
|
### option: Route.fetch.postData
|
||||||
|
* langs: js, python, java
|
||||||
* since: v1.29
|
* since: v1.29
|
||||||
|
- `postData` <[string]|[Buffer]|[Serializable]>
|
||||||
|
|
||||||
|
Allows to set post data of the request. If the data parameter is an object, it will be serialized to json string
|
||||||
|
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
|
||||||
|
set to `application/octet-stream` if not explicitly set.
|
||||||
|
|
||||||
### option: Route.fetch.postData
|
### option: Route.fetch.postData
|
||||||
* since: v1.29
|
* since: v1.29
|
||||||
|
|||||||
@ -389,14 +389,6 @@ Allows to set post data of the request. If the data parameter is an object, it w
|
|||||||
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
|
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
|
||||||
set to `application/octet-stream` if not explicitly set.
|
set to `application/octet-stream` if not explicitly set.
|
||||||
|
|
||||||
## js-python-csharp-fetch-option-post-data
|
|
||||||
* langs: js, python, csharp
|
|
||||||
- `postData` <[string]|[Buffer]|[Serializable]>
|
|
||||||
|
|
||||||
Allows to set post data of the request. If the data parameter is an object, it will be serialized to json string
|
|
||||||
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
|
|
||||||
set to `application/octet-stream` if not explicitly set.
|
|
||||||
|
|
||||||
## js-python-csharp-fetch-option-ignorehttpserrors
|
## js-python-csharp-fetch-option-ignorehttpserrors
|
||||||
* langs: js, python, csharp
|
* langs: js, python, csharp
|
||||||
- `ignoreHTTPSErrors` <[boolean]>
|
- `ignoreHTTPSErrors` <[boolean]>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user