摘要:
代码--(IBAction)uploadAction:(id)sender{NSString*urlstring=self.urlTextField.text;//NSString*poststr=@"";NSData*imgData=UIImageJPEGRepresentation(self.previewImageView.image,0.9f);NSString*boundary=@"0xKhTmLbOuNdArY";NSString*contentType=[NSStringstringWithFormat:@"multipart/f 阅读全文