fix(curriculum): clarify test cases (#48436)

fix(curriculum): test description updated in Get Query Parameter Input from the Client
This commit is contained in:
Atir Nayab
2022-11-10 18:31:52 +05:30
committed by GitHub
parent a4bf79fe0f
commit 4ec48bb2fb

View File

@@ -20,7 +20,7 @@ Build an API endpoint, mounted at `GET /name`. Respond with a JSON document, tak
# --hints--
Test 1 : Your API endpoint should respond with the correct name
Test 1 : Your API endpoint should respond with `{ "name": "Mick Jagger" }` when the `/name` endpoint is called with `?first=Mick&last=Jagger`
```js
(getUserInput) =>
@@ -38,7 +38,7 @@ Test 1 : Your API endpoint should respond with the correct name
);
```
Test 2 : Your API endpoint should respond with the correct name
Test 2 : Your API endpoint should respond with `{ "name": "Keith Richards" }` when the `/name` endpoint is called with `?first=Keith&last=Richards`
```js
(getUserInput) =>