Skip to content

Commit

Permalink
Merge 448d78e into d22807d
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbyt committed May 31, 2017
2 parents d22807d + 448d78e commit 02fa014
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,14 @@ client.post('add', {
}).then(response => {
console.log(response.jsonData);
});

// Example
let postBody = {firstName: 'hello', lastName: 'world'};

client.request('profile', 'PUT', {json: postBody})
.then(resp => {
console.log(resp.jsonData);
});
```

### credentials
Expand Down

0 comments on commit 02fa014

Please sign in to comment.