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

Why does webhook needs to have specific syntax in order apprise to parse it? #1245

Open
Pheggas opened this issue Nov 21, 2024 · 0 comments
Open
Labels

Comments

@Pheggas
Copy link

Pheggas commented Nov 21, 2024

Question
Hello. I've come here from Prefect. In there, you can define the webhook URL into secret and use it in automations to notify users.

My question is in title. For example, when I have webhook for Mattermost like https://mattermost.example.com/hooks/yq6455fs7l7cu7fwmb9r3xs7dpn it would write 404 as It did not found but when I edit it so it looks more like mmosts://mattermost.example.com:443/yq6455fs7l7cu7fwmb9r3xs7dpn, it suddenly starts to work? This is absolute nonsense. Apprise should accept any kind of webhook format. If it already has the path for /hooks/ then don't edit that part. The same applies for the protocol. If it is already https then there's no need to parse it and in this case, throw error that the URL is unparsable. I don't know if the integration has been done by someone not really smart but this is horrible approach.

@Pheggas Pheggas changed the title Why does webhook needs to have specific syntax in order apprise to take it? Why does webhook needs to have specific syntax in order apprise to parse it? Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant