I’d like to send an image along with an IOS notification using one Call Service node. The image location URL will vary based on the type of notification. to do that I assign a string, msg.attachment, which contains the URL I want to pull from. I use that string in the Call Service node i.e. “url” : “{{attachment}}”
This is the result I want:
“attachment”:{
“url”:“https://cam1.example.com/image.jpg”,
“content-type”:“jpeg”}
But this is the result I get:
"attachment":{
"url":"https://cam1.example.com/image.jpg",
"content-type":"jpeg"}
When I hardcode the URL in the Call Service node it works. When I use the string it encodes the URL which does not work. How can I prevent it from encoding the URL?
Thanks