Fetch.continueRequestContinues the request, optionally modifying some of its parameters.
| Name | Type | Description |
|---|---|---|
requestId | RequestId | An id the client received in requestPaused event. |
url (optional) | string | If set, the request url will be modified in a way that's not observable by page. |
method (optional) | string | If set, the request method is overridden. |
postData (optional) | string | If set, overrides the post data in the request. (Encoded as a base64 string when passed over JSON) |
headers (optional) | array | If set, overrides the request headers. Note that the overrides do not extend to subsequent redirect hops, if a redirect happens. Another override may be applied to a different request produced by a redirect. |
interceptResponse (optional) | boolean | If set, overrides response interception behavior for this request. |
{
"id": 1,
"method": "Fetch.continueRequest",
"params": {
"requestId": "request-1"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Fetch.continueRequest', {"requestId": "request-1"});
console.log(result);