Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Commit

Permalink
Merge pull request #23 from kmbremner/patch-1
Browse files Browse the repository at this point in the history
Description for post() method in readme wrongly says patch()
  • Loading branch information
prestonso committed Jul 27, 2016
2 parents 4c7f3d7 + 2f05ab6 commit a516f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ waterwheel.api.user.post({})
// err
});
```
`.patch()` accepts two arguments
`.post()` accepts two arguments
- `body`: An object that formatted in a way that Drupal will be able to parse. This object should contain all the information needed to create an entity. This object is passed directly to Drupal.
- `format`: The format of the object you are passing. Currently this is optional, and internally defaults to `application/json`.

Expand Down

0 comments on commit a516f05

Please sign in to comment.