Skip to content

Commit

Permalink
Merge pull request JakeChampion#272 from jmeas/capitalization
Browse files Browse the repository at this point in the history
Use uppercase methods in README
  • Loading branch information
dgraham committed Mar 31, 2016
2 parents 08fc999 + 1d19130 commit c23c3f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fetch('/users.json').then(function(response) {
var form = document.querySelector('form')

fetch('/users', {
method: 'post',
method: 'POST',
body: new FormData(form)
})
```
Expand All @@ -86,7 +86,7 @@ fetch('/users', {

```javascript
fetch('/users', {
method: 'post',
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
Expand All @@ -108,7 +108,7 @@ data.append('file', input.files[0])
data.append('user', 'hubot')

fetch('/avatars', {
method: 'post',
method: 'POST',
body: data
})
```
Expand Down

0 comments on commit c23c3f9

Please sign in to comment.