Skip to content

Commit ad683dd

Browse files
committed
add missing apostrophes
1 parent 5acc875 commit ad683dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/sttp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ You may send request data along with your `POST`, `PUT`, or `PATCH` requests usi
7575
```js
7676
const response = await Sttp
7777
.withPayload({
78-
name: 'Supercharge,
78+
name: 'Supercharge',
7979
role: 'admin'
8080
})
8181
.post('https://your-api.com/v2/users')
@@ -85,7 +85,7 @@ You can also pass the request data as the second parameter to the `Sttp.post` me
8585

8686
```js
8787
const response = await Sttp.post('https://your-api.com/v2/users', {
88-
name: 'Supercharge,
88+
name: 'Supercharge',
8989
role: 'admin'
9090
})
9191
```
@@ -111,7 +111,7 @@ You can also send query parameters with your requests by passing them as the sec
111111

112112
```js
113113
const response = await Sttp.get('https://your-api.com/v2/users', {
114-
name: 'Supercharge,
114+
name: 'Supercharge',
115115
page: 1
116116
})
117117
```
@@ -126,7 +126,7 @@ You should call the `asFormParams` method if you want to send request data using
126126
const response = await Sttp
127127
.asFormParams()
128128
.post('https://your-api.com/v2/users', {
129-
name: 'Supercharge
129+
name: 'Supercharge'
130130
})
131131
```
132132

@@ -141,7 +141,7 @@ const response = await Sttp
141141
'X-Custom-2': 'bar'
142142
})
143143
.post('https://your-api.com/v2/users', {
144-
name: 'Supercharge
144+
name: 'Supercharge'
145145
})
146146
```
147147

0 commit comments

Comments
 (0)