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

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

**Available in:** all subroutines

HTTP method sent by the client, such as "GET" or "POST".

Requests using the HTTP `PURGE` method will appear in VCL as "FASTLYPURGE".  All other methods are reported as received, including any unknown or unrecognized methods, provided that the request is syntactically valid HTTP.
