<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [matchers](./case-definition-dsl.matchers.md) &gt; [http](./case-definition-dsl.matchers.http.md) &gt; [HttpRequestExample](./case-definition-dsl.matchers.http.httprequestexample.md) &gt; [method](./case-definition-dsl.matchers.http.httprequestexample.method.md)

## matchers.http.HttpRequestExample.method property

A string or string matcher that matches the method used for this example (eg `"GET"` or `"POST"`<!-- -->). Case insensitive. Note that DELETE, GET and HEAD requests should not have bodies - see the HTTP RFCs for details.

**Signature:**

```typescript
readonly method: AnyStringMatcher;
```
