---
title: req.url
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-request/req-url
---

**Type:** STRING  
**Access:** can be read and set, but not unset

**Available in:** all subroutines

The full path, including query parameters.

## Example

In the request `www.example.com/index.html?a=1&b=2`, `req.url` will contain 
`/index.html?a=1&b=2`.
