开发者

How to send png images from iPhone to web service

开发者 https://www.devze.com 2023-01-13 04:32 出处:网络
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/p

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

精彩评论

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