Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 352 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 352 Bytes

imgur

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

配置 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,
})