louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.02k stars 5.37k forks source link

Dynamic request bodys via `jsonata` templating #4383

Open Natgho opened 10 months ago

Natgho commented 10 months ago

⚠️ 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; image

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 10 months ago

Related https://github.com/louislam/uptime-kuma/pull/3525

louislam commented 10 months ago

Duplicate of #575

CommanderStorm commented 10 months ago

Disagree: @Natgho is requesting cachebusting via the body instead of the path as in https://github.com/louislam/uptime-kuma/issues/575

Natgho commented 10 months ago

Yes absolutely. Thank you for the supporting me @commanderStorm