mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
17 lines
482 B
Markdown
17 lines
482 B
Markdown
![]() |
## method: Request.getPayloadAsJson
|
||
|
* langs: csharp
|
||
|
- returns: <[JsonDocument]>
|
||
|
|
||
|
Returns a [JsonDocument] representation of [`method: Request.postDataBuffer`].
|
||
|
|
||
|
### option: Request.getPayloadAsJson.serializerOptions
|
||
|
- `documentOptions` <[null]|[JsonDocumentOptions]>
|
||
|
|
||
|
The options that control custom behaviour when parsing the JSON.
|
||
|
|
||
|
## method: Response.statusCode
|
||
|
* langs: csharp
|
||
|
- returns: <[System.Net.HttpStatusCode]>
|
||
|
|
||
|
Gets the [System.Net.HttpStatusCode] code of the response.
|