Notification - Templates - Adding an example of how to use URL encoding with tokens

pull/2129/head
dgtlmoon 11 months ago
parent 0439155127
commit 96793890f8

@ -118,6 +118,9 @@
<p> <p>
For JSON payloads, use <strong>|tojson</strong> without quotes for automatic escaping, for example - <code>{ "name": {{ '{{ watch_title|tojson }}' }} }</code> For JSON payloads, use <strong>|tojson</strong> without quotes for automatic escaping, for example - <code>{ "name": {{ '{{ watch_title|tojson }}' }} }</code>
</p> </p>
<p>
URL encoding, use <strong>|urlencode</strong>, for example - <code>gets://hook-website.com/test.php?title={{ '{{ watch_title|urlencode }}' }}</code>
</p>
</div> </div>
</div> </div>
<div class="pure-control-group"> <div class="pure-control-group">

Loading…
Cancel
Save