mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Dynamic request bodys via jsonata templating #3042
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#3042
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 @Natgho on GitHub (Jan 17, 2024).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
New Monitor
🔖 Feature description
There is no way to random these values for every request;

It is also not possibe to add
$now()or other time functions.✔️ Solution
imagine an environment where every request is cached. In this case, we would need to send new values every time to see if the system is still up and running. Can we add a feature like {{random.int(1,50)}} or {{random.text(min=10,max=100)}} ?
❓ Alternatives
No way :/
📝 Additional Context
No response
@CommanderStorm commented on GitHub (Jan 17, 2024):
Related https://github.com/louislam/uptime-kuma/pull/3525
@louislam commented on GitHub (Jan 23, 2024):
Duplicate of #575
@CommanderStorm commented on GitHub (Jan 23, 2024):
Disagree:
@Natgho is requesting cachebusting via the body instead of the path as in https://github.com/louislam/uptime-kuma/issues/575
@Natgho commented on GitHub (Jan 23, 2024):
Yes absolutely. Thank you for the supporting me @commanderStorm