Skip to content

Commit 6c3d0f4

Browse files
committed
Fixed changelog and docs
1 parent 30be975 commit 6c3d0f4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes
22

3+
## [2.1.0 (2024-09-28)](https://github.com/axe-api/axe-api/compare/2.1.0...2.0.1)
4+
5+
- Added missing requests to the Resource object
6+
37
## [2.0.1 (2024-09-28)](https://github.com/axe-api/axe-api/compare/2.0.1...2.0.0)
48

59
- Fixed bundling issues

readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ const response = await api.resource("users").insert({
5656
});
5757
```
5858

59+
## Post
60+
61+
```js
62+
const response = await api.resource("users").post({
63+
name: "Karl",
64+
surname: "Popper",
65+
});
66+
```
67+
5968
## Update
6069

6170
```js
@@ -74,6 +83,15 @@ const response = await api.resource("users").patch({
7483
});
7584
```
7685

86+
## Put
87+
88+
```js
89+
const response = await api.resource("users").put({
90+
name: "Karl",
91+
surname: "Popper",
92+
});
93+
```
94+
7795
## Delete
7896

7997
```js

0 commit comments

Comments
 (0)