Updated Stubbing and Request Matching (markdown)

Stef Heyenrath
2018-07-20 20:18:05 +02:00
parent da581f4659
commit 9321c8ff01

@@ -381,7 +381,8 @@ The model of the request is supplied to the header and body templates. The follo
* `request.headers.[<key>]` - Header with awkward characters e.g. request.headers.[$?blah]
* `request.headers.<key>.[<n>]` - nth value of a header (zero indexed) e.g. request.headers.ManyThings.[1]
* `request.cookies.<key>` - Value of a request cookie e.g. request.cookies.JSESSIONID
* `request.body` - Request body text (avoid for non-text bodies)
* `request.body` - Request body text as string
* `request.bodyAsJson` - Request body as dynamic Json Object
### Handlebars helpers
All of the standard helpers (template functions) provided by the C# Handlebars implementation plus all of the string helpers are available e.g.