# uri

> Defines the target URI for the UnityWebRequest to communicate with.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Networking](/engine/6000.7/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

```csharp
public Uri uri { get; set; }
```

### Remarks

The passed URI must be a full and absolute URI.

This property can't be set after calling [UnityWebRequest.SendWebRequest](/engine/6000.7/script-reference/unityengine/networking/unitywebrequest/sendwebrequest.md).

If the [UnityWebRequest](/engine/6000.7/script-reference/unityengine/networking/unitywebrequest.md) encounters and follows redirects, this property updates with the URL to which the [UnityWebRequest](/engine/6000.7/script-reference/unityengine/networking/unitywebrequest.md) was redirected.

This property works like [\_url](/engine/6000.7/script-reference/unityengine/networking/unitywebrequest/url.md) but is faster to set because it requires less validation and pre-processing. However, each time you access its value, a new URI instance is created, which is resource-intensive. The recommended best practice is to use this property when you need a URI object and to use [\_url](/engine/6000.7/script-reference/unityengine/networking/unitywebrequest/url.md) when you need a resulting URL.
