简体   繁体   English

将图像从android发送到Mvc4 WebAPI

[英]Sending image from android to Mvc4 WebAPI

I want to send image from android through Web API to windows server file system.我想通过 Web API 将图像从 android 发送到 windows 服务器文件系统。 There would be bulk use of this API or process for uploading images.将大量使用此 API 或过程来上传图像。 So, Please help me out what should be the best approach for this ?那么,请帮我解决这个问题的最佳方法是什么?

I tried converting image to base64 in android and then sending it to API but i was not getting proper base 64 and i found this a dicey approach.我尝试在 android 中将图像转换为 base64,然后将其发送到 API,但我没有得到正确的 base64,我发现这是一种冒险的方法。

是我的问题的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM