Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newline characters in "rest api calls" params #1793

Open
jonathanspw opened this issue Oct 18, 2022 · 4 comments
Open

newline characters in "rest api calls" params #1793

jonathanspw opened this issue Oct 18, 2022 · 4 comments
Assignees

Comments

@jonathanspw
Copy link

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?

@remdex
Copy link
Contributor

remdex commented Oct 18, 2022

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

@jonathanspw
Copy link
Author

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.

@remdex
Copy link
Contributor

remdex commented Oct 18, 2022

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.

@jonathanspw
Copy link
Author

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

@remdex remdex self-assigned this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants