# uri

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

## Definition

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

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

### Remarks

The passed Uri must be full absolute URI.

This property cannot be set after calling [UnityWebRequest.SendWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest/sendwebrequest.md).

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

Same as [UnityWebRequest.url](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest/url.md), but has less validation and pre-processing, so is much faster to set. Reading it's value is, however, more expensive because the new Uri instance is created, so if you want to get the URL your request ended up to, it's recommended to use [UnityWebRequest.url](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest/url.md), unless an Uri object is what you need.
