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

feat: Send both success and failure HTTP status codes to Uptime Kuma #10

Closed
wants to merge 6 commits into from

Conversation

oumlala
Copy link
Contributor

@oumlala oumlala commented Nov 25, 2024

Description

Added a new AllResults option that allows more control over HTTP status reporting. When enabled, it reports both success and failure statuses to Uptime Kuma.

Changes

  • Added AllResults property to Endpoint model
  • Modified HTTP service logic to handle AllResults flag
  • Updated README with AllResults documentation
  • Optimized URI construction for status reporting

Testing

  • Tested with AllResults=true: confirms both up/down statuses are reported
  • Tested with AllResults=false: confirms only success statuses are reported
  • Verified URI construction for different status scenarios

Related Issue

Fixes #9

Copy link

sonarcloud bot commented Nov 25, 2024

@zimbres zimbres closed this Dec 7, 2024
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 this pull request may close these issues.

Feature Request: Send All Results to Uptime Kuma Instance
2 participants