File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ $ yarn add microcms-js-sdk
20
20
21
21
CDN support.
22
22
23
- ```
23
+ ``` html
24
24
<script src =" https://unpkg.com/microcms-js-sdk@latest/dist/umd/microcms-js-sdk.js" ></script >
25
25
```
26
26
@@ -104,7 +104,7 @@ client
104
104
.catch ((err ) => console .error (err));
105
105
```
106
106
107
- #### WRITE API
107
+ #### CREATE API
108
108
109
109
The following is how to use the write system when making a request to the write system API.
110
110
@@ -163,7 +163,11 @@ client
163
163
})
164
164
.then ((res ) => console .log (res .id ))
165
165
.catch ((err ) => console .error (err));
166
+ ```
167
+
168
+ ### UPDATE API
166
169
170
+ ``` javascript
167
171
// Update content
168
172
client
169
173
.update ({
@@ -186,7 +190,11 @@ client
186
190
})
187
191
.then ((res ) => console .log (res .id ))
188
192
.catch ((err ) => console .error (err));
193
+ ```
189
194
195
+ ### DELETE API
196
+
197
+ ``` javascript
190
198
// Delete content
191
199
client
192
200
.delete ({
You can’t perform that action at this time.
0 commit comments