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

add paramter to send extra message when posting to custom alert to an External Endpoint #840

Open
simo222 opened this issue Aug 15, 2024 · 0 comments · May be fixed by #844
Open

add paramter to send extra message when posting to custom alert to an External Endpoint #840

simo222 opened this issue Aug 15, 2024 · 0 comments · May be fixed by #844

Comments

@simo222
Copy link

simo222 commented Aug 15, 2024

Describe the feature request

this feature is awsome.

SUCCESS=true
curl -X POST -H "Authorization: Bearer password" "http://gatus:8080/api/v1/endpoints/mygroup-test_test-ep-1/external?success=${SUCCESS}";

however I don't know how to send a custom message.

I have a script runining in a loop trough all events . if everything is fine . I send green.

howver if one of the events has failed , I want to send a red color also and send some extra info which should be visible in the portal

something like this
curl -X POST -H "Authorization: Bearer password" "http://gatus:8080/api/v1/endpoints/mygroup-test_test-ep-1/external?success=${SUCCESS}?message="event X has falied ";

Why do you personally want this feature to be implemented?

to send more info when my script has falied . now I am not able to send any info when doing a post

How long have you been using this project?

No response

Additional information

No response

@raojinlin raojinlin linked a pull request Aug 24, 2024 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant