From b3b83c25e8c8165513e9de43abcb394516cff9c7 Mon Sep 17 00:00:00 2001 From: Lofty-Brambles <100270817+Lofty-Brambles@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:03:11 +0530 Subject: [PATCH] fix: phrasing Co-authored-by: Mayada <115709272+Maddily@users.noreply.github.com> --- nodeJS/apis/RESTful_APIs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodeJS/apis/RESTful_APIs.md b/nodeJS/apis/RESTful_APIs.md index 518bf0678d..bd441a2836 100644 --- a/nodeJS/apis/RESTful_APIs.md +++ b/nodeJS/apis/RESTful_APIs.md @@ -86,7 +86,7 @@ http://sub.domain.com:1234/path/to/resource?query=something¶m=something#anch - The domain name is `domain.com` - `1234` indicates the port. The browser usually hides this, since it defaults to `80`, which is the default port for web servers. - `/path/to/resource` denotes the resource path which refers to a resource location within the server. -- There are some query parameters here: `?query=something¶m=something`. Query string parameters start with a question mark (`?`), following a `key=value` format and separated by an ampersand (`&`). There can be any number of parameters and they are generally used by the server to spot the right resource. +- There are some query parameters here: `?query=something¶m=something`. Query string parameters start with a question mark (`?`), following a pattern of `key=value` pairs, which are separated by ampersands (`&`). There can be any number of parameters, and they are generally used by the server to identify the right resource. - The `#anchor` is called a fragment or a named anchor. It is used to refer to an internal section within a web document. ### RESTful APIs