fix(curriculum): Fixed typo APi to API (#38998)

* Fixed a typo APi => API

Co-authored-by: Vardhu2706 <avsv.vardhaman@gmail.com>
This commit is contained in:
Vardhaman
2020-06-04 12:40:49 +05:30
committed by GitHub
parent 95371f92b3
commit 32a443d1c9
6 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ Build an API endpoint, mounted at <code>GET /name</code>. Respond with a JSON do
tests:
- text: 'Test 1 : Your API endpoint should respond with the correct name'
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/name?first=Mick&last=Jagger'').then(data => { assert.equal(data.name, ''Mick Jagger'', ''Test 1: "GET /name" route does not behave as expected'') }, xhr => { throw new Error(xhr.responseText); })'
- text: 'Test 2 : Your APi endpoint should respond with the correct name'
- text: 'Test 2 : Your API endpoint should respond with the correct name'
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/name?last=Richards&first=Keith'').then(data => { assert.equal(data.name, ''Keith Richards'', ''Test 2: "GET /name" route does not behave as expected'') }, xhr => { throw new Error(xhr.responseText); })'
```