← Back to Fetch domain

Fetch.continueRequest

Continues the request, optionally modifying some of its parameters.

Domain: Fetch stable

Parameters

NameTypeDescription
requestIdRequestIdAn id the client received in requestPaused event.
url (optional)stringIf set, the request url will be modified in a way that's not observable by page.
method (optional)stringIf set, the request method is overridden.
postData (optional)stringIf set, overrides the post data in the request. (Encoded as a base64 string when passed over JSON)
headers (optional)arrayIf 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)booleanIf set, overrides response interception behavior for this request.

Example Request

{
  "id": 1,
  "method": "Fetch.continueRequest",
  "params": {
    "requestId": "request-1"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Fetch.continueRequest', {"requestId": "request-1"});
console.log(result);