From 71a0c797baea6ede84ac9aee29849f3b52b88f1e Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 20 Jan 2021 08:08:41 +0100 Subject: [PATCH] Updated Response Templating (markdown) --- Response-Templating.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Response-Templating.md b/Response-Templating.md index fc65ce4..cfaafc3 100644 --- a/Response-Templating.md +++ b/Response-Templating.md @@ -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) 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.