---
title: "Discussion on \"URL Parameters vs Query Strings in Express.js\" | Hashnode"
description: "Discussion on \"URL Parameters vs Query Strings in Express.js\". When building APIs with Express.js, beginners often get confused between:\n\nURL parameters\n\nQuery strings\n\n\nAt first, both seem similar because both send data through the URL.\nExamples:\n/users/101\n\nand"
url: "https://hashnode.com/posts/url-parameters-vs-query-strings-in-express-js/6a002738e3eebc2e203fe1b9"
---

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

Discussion

# [URL Parameters vs Query Strings in Express.js](https://url-parameter-query-string-express-sspadwal.hashnode.dev/url-parameters-vs-query-strings-in-express-js?utm_source=hashnode&utm_medium=feed)

When building APIs with Express.js, beginners often get confused between: URL parameters Query strings At first, both seem similar because both send data through the URL. Examples: /users/101 and

May 10 · 5 min read · url-parameter-query-string-express-sspadwal.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#parameters](https://hashnode.com/tag/parameters)
-   [#query-string](https://hashnode.com/tag/query-string)
-   [#expressjs](https://hashnode.com/tag/expressjs)

## Written by

[shailesh](https://hashnode.com/@sspadwal)

@sspadwal

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
