APP Communication with Web Server

Asked

Viewed 1,419 times

3

I would like to know the best way, in terms of security/performance, to make my mobile/android application communicate with a web server (apache/php, for example) to receive/send data.

The idea is to make, from time to time, my mobile application consult the web server to get data, I thought at first to do via Http Request (GET) getting the result in JSON format, but my question is whether this is the best way to do. I know it could be via Web Service too.

There are only these two "chat" options (http / webservice)?

Or is there some other model, such as via sockets in a particular port to be faster?

I await your advice.

1 answer

5


Browser other questions tagged

You are not signed in. Login or sign up in order to post.