Updated Stubbing and Request Matching (markdown)

Stef Heyenrath
2018-07-23 12:56:28 +02:00
parent 9321c8ff01
commit a156e1c373

@@ -382,7 +382,7 @@ The model of the request is supplied to the header and body templates. The follo
* `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 as string
* `request.bodyAsJson` - Request body as dynamic Json Object
* `request.bodyAsJson` - Request body as dynamic Json Object. Note that the request **must** contain the header `Content-Type` with value `application/json`!
### 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.