📅  最后修改于: 2022-03-11 15:00:34.437000             🧑  作者: Mango
//dart
FormData formdata = FormData.fromJson({
'key':'enter your key',
'image':base64.encode(unit18listString);
})
var response = await dio.post('https://api.imgbb.com/1/upload',data:formData,options:Options(contentType:'multipart/form-data'));
print(response.data);