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

Commit

Permalink
Description for post() method says patch()
Browse files Browse the repository at this point in the history
  • Loading branch information
kmbremner authored Jul 27, 2016
1 parent 4c7f3d7 commit 2f05ab6
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 2f05ab6

Please sign in to comment.