<!-- 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; [interactions](./case-definition-dsl.interactions.md) &gt; [http](./case-definition-dsl.interactions.http.md) &gt; [HttpExample](./case-definition-dsl.interactions.http.httpexample.md)

## interactions.http.HttpExample interface

**Signature:**

```typescript
export interface HttpExample
```

## Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

[request](./case-definition-dsl.interactions.http.httpexample.request.md)

</td><td>

`readonly`

</td><td>

AnyMatcherOrData

</td><td>

A test equivalence matcher that will match an HTTP request (recommended: the Test Equivalence Matcher `HttpRequest`<!-- -->)

</td></tr>
<tr><td>

[response](./case-definition-dsl.interactions.http.httpexample.response.md)

</td><td>

`readonly`

</td><td>

AnyMatcherOrData

</td><td>

A test equivalence matcher that will match an HTTP response (recommended: the Test Equivalence Matcher `HttpResponse`<!-- -->)

</td></tr>
</tbody></table>
