mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 10:01:00 +01:00
Updated Stubbing and Request Matching (markdown)
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user