mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Can I support a custom status code or code returned by the interface #2501
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2501
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xiangshen123 on GitHub (Aug 21, 2023).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
API
🔖 Feature description
Can I support a custom status code or code returned by the interface
✔️ Solution
Can I support a custom status code or code returned by the interface
❓ Alternatives
No response
📝 Additional Context
No response
@CommanderStorm commented on GitHub (Aug 21, 2023):
What do you mean by
Please remember that writing good issues is paramount to the thing you want getting done.
I think you wanted to choose the
help-template.@xiangshen123 commented on GitHub (Aug 22, 2023):
List as I visit a URL,He returns the following values,However, our service only supports returning status codes of 1-999

Can I customize the return value for the URL shown in the figure?
@CommanderStorm commented on GitHub (Aug 22, 2023):
"0000" would not a valid status code according to RFC 9110 if you are refering to the actual status code.
=> http status code 0 is also commonly used for aborted requests by browsers
However, your screenshot does NOT show an HTTP status code, instead you are showing
json. If this is indeed validjson, please consider using thejson-querymonitor instead. If this is not validjson, please consider using thekeywordmonitor instead.I am unshure if you can customise the returned content of the url you are monitoring. (something might have been lost in translation, I don't understand what you mean)
@github-actions[bot] commented on GitHub (Feb 14, 2024):
We are clearing up our old
help-issues and your issue has been open for 60 days with no activity.If no comment is made and the stale label is not removed, this issue will be closed in 7 days.