docs: add app.query() method to API documentation#2414
Conversation
…guide for QUERY method support
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
All supported methods are listed in app.METHOD() section and I can't see it modified here. If someone checked the docs for router, they would be directed to the table in app.METHOD() for the list of supported methods.
BTW. HEAD, OPTIONS and PATCH, which AFAIK also are a part of the HTTP standard do not have their own sections in app (like DELETE, GET, POST, PUT do)
I didn't add it there on purpose because I created a new section for |
|
I think having a separate section makes sense. I say that because it's essentially a combination of |
Also, add it to that table |
I think that it does. The support depends only on Node.js version if I remember this correctly. EDIT: |
To be honest, I never tested it. But unless the methods package was updated, then we would have support Lol, it's been too long. My memory does fail sometimes 😂 |
from my research, in v4, uses "methods" npm package line 18, and list of that http methods not includes "query" index.js edit: at the end, v4 should not support it, but not tested |
It uses whatever Node.js lists in https://github.com/jshttp/methods/blob/f89e491ab3f2a1e8c418648b890da2e96ef15edb/index.js#L22-L33 |
|
In that case, it looks like we do have support in Express 4 after all. Would you like to update its documentation as well? |
I think it would be best if you made the decision on this. If you decide, I can make the updates quickly. |

Add
app.query()documentation to Application APIDocuments the new
app.query()route method for handling HTTP QUERY requests (RFC 10008), a usage example, and an info alert noting the method was standardized on June 15, 2026 (Fresh Method).