Skip to content

Commit

Permalink
Fixing config sample custom actions, fixing typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dsternlicht committed Oct 15, 2019
1 parent bf14847 commit ec709da
Show file tree
Hide file tree
Showing 14 changed files with 2,790 additions and 313 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ Set to true if you want this page to be the first to load in your app. If you ha
A list of key-value headers you wish to add to every request we're making. For example: ``{ Authentication: 'SECRET_KEY', 'X-USER-ID': 'USER_ID' }``.

##### `methods` (object)
A list of all methods which are available in your RESTfull API. Available methods:
A list of all methods which are available in your RESTful API. Available methods:
* get
* post
* put
* post

##### `customActions` (array)
A list of extra (non RESTfull) endpoints available in your ~RESTfull~ API. Specifically `customActions` is a list of PUT or POST method objects. For example this could enable an endpoint like: ``PUT http://website.com/users/:id/disable``
A list of extra (non RESTful) endpoints available in your ~RESTful~ API. Specifically `customActions` is a list of PUT or POST method objects. For example this could enable an endpoint like: ``PUT /users/:id/disable``

> These use the same format as the method objects defined below.
Expand Down
Loading

0 comments on commit ec709da

Please sign in to comment.