PI/Request/text)
  6. Related pages for Fetch API 
    1. [ ` Headers ` ](/en-US/docs/Web/API/Headers)
    2. [ ` Response ` ](/en-US/docs/Web/API/Response)
    3. [ ` fetch() ` ](/en-US/docs/Web/API/fetch)

##  In this article

  * Constructor 
  * Instance properties 
  * Instance methods 
  * Examples 
  * Specifications 
  * Browser compatibility 
  * See also 

#  Request

The **` Request ` ** interface of the [ Fetch API ](/en-
US/docs/Web/API/Fetch_API) represents a resource request.

You can create a new ` Request ` object using the [ ` Request() ` ](/en-
US/docs/Web/API/Request/Request "Request\(\)") constructor, but you are more
likely to encounter a ` Request ` object being returned as the result of
another API operation, such as a service worker [ ` FetchEvent.request `
](/en-US/docs/Web/API/FetchEvent/request) .

##  Constructor

[ ` Request() ` ](/en-US/docs/Web/API/Request/Request "Request\(\)")

    

Creates a new ` Request ` object.

##  Instance properties

[ ` Request.body ` ](/en-US/docs/Web/API/Request/body) Read only

    

A [ ` ReadableStream ` ](/en-US/docs/Web/API/ReadableStream) of the body
contents.

[ ` Request.bodyUsed ` ](/en-US/docs/Web/API/Request/bodyUsed) Read only

    

Stores ` true ` or ` false ` to indicate whether or not the body has been used
in a request yet.

[ ` Request.cache ` ](/en-US/docs/Web/API/Request/cache) Read only

    

Contains the cache mode of the request (e.g., ` default ` , ` reload ` , ` no-
cache ` ).

[ ` Request.credentials ` ](/en-US/docs/Web/API/Request/credentials) Read only

    

Contains the credentials of the request (e.g., ` omit ` , ` same-origin ` , `
include ` ). The default is ` same-origin ` .

[ ` Request.destination ` ](/en-US/docs/Web/API/Request/destination) Read only

    

A string describing the type of content being requested.

[ ` Request.headers ` ](/en-US/docs/Web/API/Request/headers) Read only

    

Contains the associated [ ` Headers ` ](/en-US/docs/Web/API/Headers) object of
the request.

[ ` Request.integrity ` ](/en-US/docs/Web/API/Request/integrity) Read only

    

Contains the [ subresource integrity ](/en-
US/docs/Web/Security/Subresource_Integrity) value of the request (e.g., `
sha256-BpfBw7ivV8q2jLiT13fxDYAe2tJllusRSZ273h2nFSE= ` ).

[ ` Request.method ` ](/en-US/docs/Web/API/Request/method) Read only

    

Contains the request's method ( ` GET ` , ` POST ` , etc.)

[ ` Request.mode ` ](/en-US/docs/Web/API/Request/mode) Read only

    

Contains the mode of the request (e.g., ` cors ` , ` no-cors ` , ` same-origin
` , ` navigate ` .)

[ ` Request.redirect ` ](/en-US/docs/Web/API/Request/redirect) Read only

    

Contains the mode for how redirects are handled. It may be one of ` follow ` ,
` error ` , or ` manual ` .

[ ` Request.referrer ` ](/en-US/docs/Web/API/Request/referrer) Read only

    

Contains the referrer of the request (e.g., ` client ` ).

[ ` Request.referrerPolicy ` ](/en-US/docs/Web/API/Request/referrerPolicy)
Read only

    

Contains the referrer policy of the request (e.g., ` no-referrer ` ).

[ ` Request.signal ` ](/en-US/docs/Web/API/Request/signal) Read only

    

Returns the [ ` AbortSignal ` ](/en-US/docs/Web/API/AbortSignal) associated
with the request

[ ` Request.url ` ](/en-US/docs/Web/API/Request/url) Read only

    

Contains the URL of the request.

##  Instance methods

[ ` Request.arrayBuffer() ` ](/en-US/docs/Web/API/Request/arrayBuffer)

    

Returns a promise that resolves with an [ ` ArrayBuffer ` ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) representation of
the request body.

[ ` Request.blob() ` ](/en-US/docs/Web/API/Request/blob)

    

Returns a promise that resolves with a [ ` Blob ` ](/en-US/docs/Web/API/Blob)
representation of the request body.

[ ` Request.clone() ` ](/en-US/docs/Web/API/Request/clone)

    

Creates a copy of the current ` Request ` object.

[ ` Request.formData() ` ](/en-US/docs/Web/API/Request/formData)

    

Returns a promise that