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

Can't use underscore in text with Horn. #80

Open
Rishats opened this issue Apr 8, 2019 · 1 comment
Open

Can't use underscore in text with Horn. #80

Rishats opened this issue Apr 8, 2019 · 1 comment

Comments

@Rishats
Copy link

Rishats commented Apr 8, 2019

curl -X POST -d '{"text":"go_"}' https://integram.org/webhook/cCgdv61sIpx
This request return 200 status, but not send data in to telegram.

curl -X POST -d '{"text":"go"}' https://integram.org/webhook/cCgdv62sIpz
Work fine.

horn

@Rishats Rishats changed the title underscore in text to Horn. Can't use underscore in text with Horn. Apr 8, 2019
@tiagoshibata
Copy link

Just FYI: Horn uses the Slack syntax, which doesn't allow a single underscore (underscores are used for bold text). If you want to disable markup, use:

 curl -X POST -d '{
    "text": "go_",
    "mrkdwn": false
}' https://integram.org/webhook/<your ID>

Though I agree that it shouldn't return 200 if communication with Slack fails...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants