Updated Response Templating (markdown)

Stef Heyenrath
2020-03-17 09:36:56 +01:00
parent d8923a88a1
commit e49d2d44cf

@@ -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