# UrlPatternRequestOptions<!-- -->

Request options that the `globs` and `pseudoUrls` input editors can attach to a single URL pattern.

### Hierarchy

* Pick\<RequestOptions, method | payload | label | userData | headers>

  * *UrlPatternRequestOptions*

    * [GlobInput](https://docs.apify.com/sdk/js/reference/interface/GlobInput.md)
    * [PseudoUrlInput](https://docs.apify.com/sdk/js/reference/interface/PseudoUrlInput.md)

## Index[](#Index)

### Properties

* [headers](#headers)
* [label](#label)
* [method](#method)
* [payload](#payload)
* [userData](#userData)

## Properties<!-- -->[](#Properties)

### [](#headers)externaloptionalinheritedheaders

headers?

<!-- -->

: Record\<string, string>

Inherited from Pick.headers

HTTP headers in the following format:

```
{

    Accept: 'text/html',

    'Content-Type': 'application/json'

}
```

### [](#label)externaloptionalinheritedlabel

label?

<!-- -->

: string

Inherited from Pick.label

Shortcut for setting `userData: { label: '...' }`.

### [](#method)externaloptionalinheritedmethod

method?

<!-- -->

: AllowedHttpMethods = AllowedHttpMethods

Inherited from Pick.method

### [](#payload)externaloptionalinheritedpayload

payload?

<!-- -->

: string

Inherited from Pick.payload

HTTP request payload, e.g. for POST requests.

### [](#userData)externaloptionalinheriteduserData

userData?

<!-- -->

: Dictionary

Inherited from Pick.userData

Custom user data assigned to the request. Use this to save any request related data to the request's scope, keeping them accessible on retries, failures etc.

All data stored in `userData` must be JSON-serializable. Storing non-serializable values (e.g. functions, symbols) may result in unexpected results.
