Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit 8f17adf

Browse files
RyanPisuenascissorsneedfoodtoo
authored andcommitted
fix(challenges): spelling and grammar errors addressed
1 parent e044de4 commit 8f17adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/05-apis-and-microservices/basic-node-and-express.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"id": "587d7fb2367417b2b2512bf5",
189189
"title": "Get Route Parameter Input from the Client",
190190
"description": [
191-
"When building an API, we have to allow users to comunicate us what they want to get from our service. For example, if the client is requesting information about a user stored in the database, they need a way to let us know which user they're interested in. One possible way to achieve this result is using route parameters. Route parameters are named segments of the URL, delimited by slashes (/). Each segment captures the value of the part of the URL which matches its position. The captured values can be found in the <code>req.params</code> object.",
191+
"When building an API, we have to allow users to communicate with us what they want to get from our service. For example, if the client is requesting information about a user stored in the database, they need a way to let us know which user they're interested in. One possible way to achieve this result is using route parameters. Route parameters are named segments of the URL, delimited by slashes (/). Each segment captures the value of the part of the URL which matches its position. The captured values can be found in the <code>req.params</code> object.",
192192
"<blockquote>route_path: '/user/:userId/book/:bookId'<br>actual_request_URL: '/user/546/book/6754' <br>req.params: {userId: '546', bookId: '6754'}</blockquote>",
193193
"Build an echo server, mounted at the route <code>GET /:word/echo</code>. Respond with a JSON object, taking the structure <code>{echo: word}</code>. You can find the word to be repeated at <code>req.params.word</code>. You can test your route from your browser's address bar, visiting some matching routes, e.g. your-app-rootpath/freecodecamp/echo"
194194
],

0 commit comments

Comments
 (0)