Sending files via HTTP to web service

Posted by Serguei Fedorov on Programmers See other posts from Programmers or by Serguei Fedorov
Published on 2012-11-16T21:34:49Z Indexed on 2012/11/16 23:16 UTC
Read the original article Hit count: 266

Filed under:
|

I am bit frustrated at the lack of information about this online. Here is the issue:

I am in charge of creating a iOS application which sends sound data back and forth between the server and the app. The Audio is in small files and thus does not need to be streamed over, but rather it can be sent. Right now, I am using a TCP server I wrote to handle applications like this. However, I want to keep the system as simple as possible and writing your own server and client sockets can get a bit complex and leaves room for crashes. Overall it slows down development because I need to account for packet structure and other things.

My question is, can I write an ASPX or PHP web service that lets me pass the files back and forth through GET or POST?

© Programmers or respective owner

Related posts about ios

Related posts about web-services