From 654d66186e4f1030606472595cdcc4efc2fcc09f Mon Sep 17 00:00:00 2001 From: Seth Date: Fri, 19 Mar 2021 22:19:13 +0100 Subject: [PATCH] Stock Price Checker: Change "form data" to "query parameter" (#41492) * Stock Price Checker: Replace form data with query parameter * Improve wording of Stock Price Checker user stories Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> * More consistent wording and link term to Wikipedia * Removed Link to External Resource Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../information-security-projects/stock-price-checker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md b/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md index ce584c58d5..b13f357db1 100644 --- a/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md +++ b/curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md @@ -62,7 +62,7 @@ async (getUserInput) => { }; ``` -You can send a `GET` request to `/api/stock-prices` with form data containing a NASDAQ stock ticker. Returned will be an object with the property `stockData`. +You can send a `GET` request to `/api/stock-prices`, passing a NASDAQ stock symbol to a `stock` query parameter. The returned object will contain a property named `stockData`. ```js async (getUserInput) => { @@ -74,7 +74,7 @@ async (getUserInput) => { }; ``` -The `stockData` property includes the `stock` ticker as a string, the `price` as a number, and `likes` as a number. +The `stockData` property includes the `stock` symbol as a string, the `price` as a number, and `likes` as a number. ```js async (getUserInput) => {