class person extends Vcreate property person.name string是url1)使用Android4中可用的库将映像编码到base64,并创建了一个包含这些base64数据的json,并试图将其发送到rest服务器,com.orientechnologies.orient.core.exception.OSeria
我想发送一些信息到服务器的图像。服务器端正在接受模型内部的请求,所以我面临两个挑战。如何将图像表示成模态类什么文件类型应该与服务器端完全匹配,因为服务器端正在使用HttpFileBasepublic class ReceiptServiceModel: Codable= nil //<== this is the image representation type i can think for image file.