in the text field i am trying to set unicode Bytes to send an emoji. The publish and webhook works ok, but the text gets changed to:
anything i can do to make this pass raw?
thanks
not quite working for me
using \ is resulting in that being send in the webhook, \ results in \ being send in the json to the service.
any more ideas?
Ooh, that’s a tricky one! I think all JSON is essentially UTF8 encoded by default, so if you were passing it in the body that’d be easier, but in the query string… Hmm.
Maybe saving the actual UTF8 byte value instead of the long-form representation, or percent encoding it, but I’m not sure. I’ll think about this when I get a chance and see if I can offer a better solution.
actually, that was the hint i needed
i was being an idiot. Now that i changed it to json instead of query, i can do it straight away.
“json”: {
“text”: “\uD83D\uDC31”,
“toPersonEmail”: “abc@xxx.yyy”
},
instead of query and now my emojis are going through to cisco spark. Awesome, thanks!