mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 01:38:53 +02:00
Updated Response Templating (markdown)
@@ -1,6 +1,6 @@
|
|||||||
Response headers and bodies can optionally be rendered using
|
Response headers and bodies can optionally be rendered (templated) with:
|
||||||
|
|
||||||
- [Handlebars.Net](https://github.com/rexm/Handlebars.Net) templates.
|
- [Handlebars.Net](https://github.com/rexm/Handlebars.Net)
|
||||||
- [Scriban/Scriban DotLiquid](https://github.com/scriban/scriban)
|
- [Scriban/Scriban DotLiquid](https://github.com/scriban/scriban)
|
||||||
|
|
||||||
This enables attributes of the request to be used in generating the response e.g. to pass the value of a request ID header as a response header or render an identifier from part of the URL in the response body. To use this functionality, add `.WithTransformer()` to the response builder.
|
This enables attributes of the request to be used in generating the response e.g. to pass the value of a request ID header as a response header or render an identifier from part of the URL in the response body. To use this functionality, add `.WithTransformer()` to the response builder.
|
||||||
|
|||||||
Reference in New Issue
Block a user