livehelperchat icon indicating copy to clipboard operation
livehelperchat copied to clipboard

newline characters in "rest api calls" params

Open jonathanspw opened this issue 3 years ago • 4 comments
trafficstars

Currently there doesn't seem to be a way to include newline chars like \n in the parameters for rest API calls.

Can you please add the ability to do this?

jonathanspw avatar Oct 18 '22 18:10 jonathanspw

Atleast you should give a sample about what rest api call you are talking and give call sample.

remdex avatar Oct 18 '22 18:10 remdex

image

I need to get linebreaks in here. I'm trying to use webhooks to pass new chat alerts to Zulip. Basically trying to do exactly what the XMPP alerts do...but without linebreaks the messages to Zulip are just a garbled mess.

jonathanspw avatar Oct 18 '22 18:10 jonathanspw

Can't you use just json payload which allows to have any structure you want.

But I understand your problem, but because lack of time not sure when I could get to that.

remdex avatar Oct 18 '22 18:10 remdex

Zulip doesn't seem to accept json payloads. I tried :(

jonathanspw avatar Oct 18 '22 19:10 jonathanspw