Parse x-www-form-urlencoded for /test-webhook

This commit is contained in:
Louis Lam 2023-07-09 18:53:57 +08:00
parent 18d8b3a8e0
commit 293015ff35

View File

@ -208,6 +208,7 @@ let needSetup = false;
});
if (isDev) {
app.use(express.urlencoded({ extended: true }));
app.post("/test-webhook", async (request, response) => {
log.debug("test", request.headers);
log.debug("test", request.body);