---
title: "Discussion on \"/users/42 vs /users?id=42: Params vs Query in Express.js\" | Hashnode"
description: "Discussion on \"/users/42 vs /users?id=42: Params vs Query in Express.js\". Identifiers vs filters, req.params vs req.query, string types, repeated keys, and combining both in Express 5.3.0"
url: "https://hashnode.com/posts/express-url-params-vs-query-strings/6b05c74bcd05d4774dd48678"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [/users/42 vs /users?id=42: Params vs Query in Express.js](https://jaydeepkanzariya.hashnode.dev/express-url-params-vs-query-strings?utm_source=hashnode&utm_medium=feed)

Identifiers vs filters, req.params vs req.query, string types, repeated keys, and combining both in Express 5.3.0

19h ago · 9 min read · jaydeepkanzariya.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Jaydeep Kanzariya](https://hashnode.com/@jaydeepkanzariya)

@jaydeepkanzariya · India

  
[View profile](https://hashnode.com/@jaydeepkanzariya)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
