开发者

How to send png images from iPhone to web service

I have been trying to send .png images from iPhone to web service. I have come so fas as converting the .png ima开发者_JAVA技巧ge into a byte[] array. I am clueless as to how to use soap or HTTP get/post to transfer the byte[] image to the web service.

Any help would be greatly appreciated.

Sayeed


if you want to use just an HTTP-POST, you can try the ASIHTTPRequest library. it wraps the NSHTTPRequest into an easy-to-use container. there is also an example how to submit files (your png).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜