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
2020
2121CDN support.
2222
23- ```
23+ ``` html
2424<script src =" https://unpkg.com/microcms-js-sdk@latest/dist/umd/microcms-js-sdk.js" ></script >
2525```
2626
@@ -104,7 +104,7 @@ client
104104 .catch ((err ) => console .error (err));
105105```
106106
107- #### WRITE API
107+ #### CREATE API
108108
109109The following is how to use the write system when making a request to the write system API.
110110
@@ -163,7 +163,11 @@ client
163163 })
164164 .then ((res ) => console .log (res .id ))
165165 .catch ((err ) => console .error (err));
166+ ```
167+
168+ ### UPDATE API
166169
170+ ``` javascript
167171// Update content
168172client
169173 .update ({
@@ -186,7 +190,11 @@ client
186190 })
187191 .then ((res ) => console .log (res .id ))
188192 .catch ((err ) => console .error (err));
193+ ```
189194
195+ ### DELETE API
196+
197+ ``` javascript
190198// Delete content
191199client
192200 .delete ({
You can’t perform that action at this time.
0 commit comments