uptime-kuma
uptime-kuma copied to clipboard
Add xml and x-www-form-urlencoded support to HTTP monitors
Description
Fixes #1679 and #1332
DRAFT: I will resolve the remaining TODO comments. I've tested (to the limit of my ability) that this doesn't break existing monitors created in previous versions. I've tested json and xml body encoding. x-www-form-urlencoded needs more testing.
Type of change
- User interface (UI)
- New feature (non-breaking change which adds functionality)
Checklist
- [x] My code follows the style guidelines of this project
- [x] I ran ESLint and other linters for modified files
- [x] I have performed a self-review of my own code and tested it
- [x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
- [x] My changes generate no new warnings
- [ ] My code needed automated testing. I have added them (this is optional task)
Screenshots
![image](https://user-images.githubusercontent.com/1390176/184268569-1f2ecf36-51d1-4be3-9b95-d35b13d1d25b.png)
@louislam Just wanted to check if this feature is something you want to merge. If so I'll do some more testing/bugfixing on the branch and move the PR out of draft mode.
When can this merge? I need this feature
That feature would be great :+1:
@louislam Just wanted to check if this feature is something you want to merge. If so I'll do some more testing/bugfixing on the branch and move the PR out of draft mode.
Yes, it is a great feature.
It's awesome . It's a very good idea and i really need it. When do we release this? @JustinTisdale @louislam
Necessary thing! Any plans for a release?
I'm just testing out Uptime Kuma - awesome tool! But if this is ready for release, it would be really nice to have :)
Any plans for a release?
See https://github.com/louislam/uptime-kuma/pull/2610#issuecomment-1481221254 ⇒ The reason this was never released is that this feature was never finished
⇒ You could provide a PR by adding another encoding, like in https://github.com/louislam/uptime-kuma/pull/2610
PR for adding x-www-form-urlencoded support https://github.com/louislam/uptime-kuma/pull/3499 :D