I'm trying to use the set-body function and enter an & into the XML to add a parameter to a URL dynamically in a liquid template
For example
{% if {body.pagination} %}
"url": "/api/device/select?stats=true&{{body.pagination}}",
{% else %}
"url": "/api/device/select?stats=true",
{% endif %}
I receive the following error when trying to save the above
An error occurred while parsing EntityName. Line 31, position 114.
Is there a way to escape the & symbol, I can't use & as this is not recognised on the backend system