Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling mistake in the docs #1232

Merged
merged 1 commit into from
May 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Works with [browserify](https://github.com/substack/node-browserify) and should
```js
request
.post('/api/pet')
.send({ name: 'Manny', species: 'cat' })
.send({ name: 'Manny', species: 'cat' }) // sends a JSON post body
.set('X-API-Key', 'foobar')
.set('Accept', 'application/json')
.end(function(err, res){
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ A typical JSON __POST__ request might look a little like the following, where we
.send('{"name":"tj","pet":"tobi"}')
.end(callback)

Since JSON is undoubtably the most common, it's the _default_! The following example is equivalent to the previous.
Since JSON is undoubtedly the most common, it's the _default_! The following example is equivalent to the previous.

request.post('/user')
.send({ name: 'tj', pet: 'tobi' })
Expand Down