I’m a little confused about the HTTP protocol, from what i know HTTP was made for delivering web pages and primarily sending messages between a web server and a browser.
But it seems that HTTP is used anywhere in a lot of apps that indeed uses the internet for communicating but are not web application(“application that uses a web browser as a client”).
I’m asking this because i started developing an iPhone app (kind of navigation app) and i need to send messages between the iPhone client and my server. Now people keep telling me to use HTTP protocol, but is this really the way to go?
Your question is valid, if I can restate, why are we using HTTP for every Server-Client communications while it was meant typically for browser-web server use case and can be less efficient compared to direct TCP communication. My reasons below :