From 50485db2d80d4354f0efc0be148682c722884429 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:19:39 +0100 Subject: [PATCH] chore: add request_url --- docs/kratos/self-hosted/10_sending-sms.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/kratos/self-hosted/10_sending-sms.mdx b/docs/kratos/self-hosted/10_sending-sms.mdx index f31087683..9a285827e 100644 --- a/docs/kratos/self-hosted/10_sending-sms.mdx +++ b/docs/kratos/self-hosted/10_sending-sms.mdx @@ -51,15 +51,16 @@ The configuration consists of: (TRACE). - `auth` - configuration of authentication and authorization mechanisms to be used by request -Courier binds the `from`, `to`, and `body` variables into the JsonNet template. These variables are available through a `ctx` -object. For example to create a body looking like `{ to: "" }` to be sent to the SMS provider endpoint, the jsonnet -template would look like this: +Courier binds the `from`, `to`, `request_url`, and `body` variables into the JsonNet template. These variables are available +through a `ctx` object. For example to create a body looking like `{ to: "" }` to be sent to the SMS provider +endpoint, the jsonnet template would look like this: ```jsonnet function(ctx) { from: ctx.from, to: ctx.to, body: ctx.body + request_url: ctx.request_url } ```