Sending files via HTTP to web service
- by Serguei Fedorov
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?