Skip to content

Commit 1f80b1e

Browse files
authored
Merge pull request #72 from dxc-technology/support-put
HalApiCaller support put operation
2 parents 7993d16 + c80fa38 commit 1f80b1e

File tree

5 files changed

+15819
-10
lines changed

5 files changed

+15819
-10
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ This module is a HTTP client which takes care of handing out parsed `HalResponse
123123
| `options` | `function:Promise(HalResponse)` | Receives a `{ url, headers }` object as a parameter. Returns a promise and will pass a HalResponse object to the handler. |
124124
| `patch` | `function:Promise(HalResponse)` | Receives a `{ url, body, headers }` object as a parameter. Returns a promise and will pass a HalResponse object to the handler. |
125125
| `post` | `function:Promise(HalResponse)` | Receives a `{ url, body, headers }` object as a parameter. Returns a promise and will pass a HalResponse object to the handler. |
126+
| `put` | `function:Promise(HalResponse)` | Receives a `{ url, body, headers }` object as a parameter. Returns a promise and will pass a HalResponse object to the handler. |
126127
| `del` | `function:Promise(HalResponse)` | Receives a `{ url, headers }` object as a parameter. Returns a promise and will pass a `HalResponse` object to the handler. |
127128

128129
## Develop

lib/.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,4 @@ testem.log
3636

3737
# System Files
3838
.DS_Store
39-
Thumbs.db
40-
41-
# package-lock
42-
package-lock.json
39+
Thumbs.db

0 commit comments

Comments
 (0)