mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Parse x-www-form-urlencoded
for /test-webhook
This commit is contained in:
parent
18d8b3a8e0
commit
293015ff35
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ let needSetup = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
|
app.use(express.urlencoded({ extended: true }));
|
||||||
app.post("/test-webhook", async (request, response) => {
|
app.post("/test-webhook", async (request, response) => {
|
||||||
log.debug("test", request.headers);
|
log.debug("test", request.headers);
|
||||||
log.debug("test", request.body);
|
log.debug("test", request.body);
|
||||||
|
|
Loading…
Reference in a new issue