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

200 is not the only code that indicates success #265

Open
nicholasamorim opened this issue Aug 30, 2019 · 0 comments
Open

200 is not the only code that indicates success #265

nicholasamorim opened this issue Aug 30, 2019 · 0 comments

Comments

@nicholasamorim
Copy link

201 and 202 should be considered success as well.

An example is Stackstorm. Its native webhooks support returns 202 ACCEPTED.

consul-alerts consider anything else other than 200 as

"Unable to notify HTTP endpoint:"

even though it was succesful.

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

1 participant