UCLOUD的图床测试中
已锁定
即刻图床
-
import requests url = "https://spt.ucloud.cn/im/client/upload" payload={} files=[ ('file',('a.png',open('/a.png','rb'),'image/png')) ] headers = { 'Authorization': 'UCloud TOKEN_xxxxx' } response = requests.request("POST", url, headers=headers, data=payload, files=files) print(response.text)
-