我是iOS应用程序开发新手,我只是想使用NSMutableURLRequest上传图像文件。请求的主体应该包含在图像中。我只想发送图像如下java代码 HttpPut mCreatePost = new HttpPut(params[0]+"/data");
FileEntity fileEntity = new FileEntity(uploadFile, "image/jpeg");
mC
我很努力地使用https请求网络服务。我得到这种错误: An error occured : The certificate for this server is invalid. You might be connecting to a server that is pretending to be “SERVER_ADDRESS” which could put your confidenti