diff --git a/src/http-api.ts b/src/http-api.ts index 3523d70..7629237 100644 --- a/src/http-api.ts +++ b/src/http-api.ts @@ -84,7 +84,7 @@ export class HttpApi { #setupMiddleware(): void { this.#api.use(cors({ exposedHeaders: 'dwn-response' })); this.#api.use(express.json()); - + this.#api.use(express.urlencoded({ extended: true })); // formdata middleware this.#api.use( responseTime((req: Request, res: Response, time) => { const url = req.url === '/' ? '/jsonrpc' : req.url;