mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-30 06:12:18 +02:00
Updated Response Templating (markdown)
@@ -64,8 +64,7 @@ The model of the request is supplied to the header and body templates. The follo
|
|||||||
* `request.bodyAsJson` - Request body as dynamic Json Object. Note that the request **must** contain the header `Content-Type` with value `application/json`!
|
* `request.bodyAsJson` - Request body as dynamic Json Object. Note that the request **must** contain the header `Content-Type` with value `application/json`!
|
||||||
|
|
||||||
### Handlebars helpers
|
### 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.
|
All of the standard helpers (template functions) provided by the [C# Handlebars implementation](https://github.com/rexm/Handlebars.Net) are available.
|
||||||
`{{capitalize request.query.search}}`
|
|
||||||
|
|
||||||
|
|
||||||
### Transform the content from a referenced file
|
### Transform the content from a referenced file
|
||||||
|
|||||||
Reference in New Issue
Block a user