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

**Type:** STRING  
**Access:** read-only

**Available in:** all subroutines

The query string portion of `req.url`. This will be
from immediately after the `?` to the end of the URL.

## Example

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