webfolder
웹폴더를 생성합니다.
post
https://api.file.kiwi
/v1/webfolder
웹폴더 생성
1
//javascript 예
2
const url = 'https://api.file.kiwi/v1/webfolder';
3
const options = {
4
method: 'POST',
5
mode:'cors',
6
headers: {Accept: 'application/json',
7
'Content-Type': 'application/json',
8
'x-api-key': '<<<<API_KEY>>>>'
9
},
10
body:'{"title":"제목"}'
11
};
12
13
fetch(url, options)
14
.then(res => res.json())
15
.then(json => console.log(json.url))
16
.catch(err => console.error('error:' + err));
Copied!
Last modified 6mo ago
Copy link