Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 393 Bytes

File metadata and controls

18 lines (13 loc) · 393 Bytes

imgur

基于 imgur 的web图片托管页面,即开即用

img

配置 ClientID

https://api.imgur.com/oauth2/addclient 注册 clientId

img

const res = await fetch('https://api.imgur.com/3/upload', {
    method: 'POST',
    headers: { Authorization: `Client-ID ${clientId}` },
    body: formData,
})