---
title: initialRequest
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webdatasource/initialrequest
---

# initialRequest

A reference to the original request that was used to load the web content.

## Declaration

```swift
var initialRequest: URLRequest! { get }
```

## See Also

### Getting the request and response

- [request](webkit/webdatasource/request.md)
- [response](webkit/webdatasource/response.md)
