Okay, first off I'm a compete server noob. So I apologize if I upset you with my ignorance.
I've currently set up a linode and had it installed with MySQL and apache. Right now, I'm trying to learn how to use REST to communicate from my iphone app to the server.
I want the app to send the server a set of coordinates, and for the server to do a search over its data and return back a list of other nearby coordinates. I also want to communicate with as little bandwidth usage as possible.
I heard GET is a good way to do this, but I've also heard that info (such as the coordinates) can easily be read by outside sources. Security is an issue, and I want all info sent to or received from the server to be private. Should I use POST to achieve this? Is there a better way? Can I send a request with JSON (for less bandwidth usage)?
Also is REST even a good route to do this? A lot of the tutorials I'm seeing seem to just get or manipulate data tables, and there's not much server logic going on behind the scenes. Is SOAP or something else better?
I'm really unclear on a lot of this at the moment and my google-fu is getting me slow results, so any info at all will be immensely helpful.