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

This commit is contained in:
dgtlmoon
2024-01-22 12:20:23 +01:00
parent c4d7eff56d
commit c7e97e575b
@@ -118,6 +118,9 @@
<p>
For JSON payloads, use <strong>|tojson</strong> without quotes for automatic escaping, for example - <code>{ "name": {{ '{{ watch_title|tojson }}' }} }</code>
</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 class="pure-control-group">