# LoadURLOptions

**Kind**: interface | **Module**: [Windows](https://docs.interop.io/desktop/reference/javascript/windows/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/loadurloptions/index.html

Options for loading a window URL.

## Properties

- **`baseURLForDataURL`** (`string`, optional)
  Base URL for files loaded by a data URL. Must end with a trailing path separator. This property is necessary only when the loaded URL is a data URL.
- **`extraHeaders`** (`string`, optional)
  A string with extra headers for the request. Separate the headers with a `"\n"`.
- **`httpReferrer`** (`(string) | (Referrer)`, optional)
  URL for the `Referer` request header or a `Referrer` object specifying a URL and a policy for the `Referrer-Policy` request header.
- **`postData`** (`((UploadBase64Data) | (UploadFile))[]`, optional)
  Data for the POST request. The list can contain both `UploadFile` objects (describing the location and other properties of the file to upload) and `UploadBase64Data` objects (containing data encoded as a Base64 string).
- **`queryString`** (`string`, optional) *(since io.Connect Desktop 9.3, @interopio/desktop 6.3.1)*
  Query string that will be appended to the URL when starting the app. If the string doesn't start with a `?`, one will be prepended to it. Note that the query string must be URL encoded.
- **`timeout`** (`number`, optional) default: `120` *(since @interopio/desktop 6.10.0)*
  Interval in seconds to wait for the window to navigate.
- **`userAgent`** (`string`, optional)
  Value for the `User-Agent` request header, describing the user agent originating the request.

## Related types

- [Referrer](https://docs.interop.io/desktop/reference/javascript/windows/referrer/index.md)
- [UploadBase64Data](https://docs.interop.io/desktop/reference/javascript/windows/uploadbase64data/index.md)
- [UploadFile](https://docs.interop.io/desktop/reference/javascript/windows/uploadfile/index.md)
