+ 1

How does a server and an app communicate

How does a server communicate with an app?

20th Jun 2024, 10:46 PM
Kuchenesser
7 ответов
+ 3
If you take this course the second module talks about it. https://www.sololearn.com/learn/courses/tech-for-everyone
20th Jun 2024, 10:56 PM
Chris Coder
Chris Coder - avatar
+ 3
there are some protocol for communication like http or https app sends http request to server, server sends http response to client (app)
20th Jun 2024, 11:12 PM
Andrew [DEAD]
Andrew [DEAD] - avatar
+ 2
Ah ok, thanks. There are communicating using http or https. But I code the functions of the server using another language, right?
20th Jun 2024, 11:13 PM
Kuchenesser
+ 2
Kuchenesser you are correct.  A server and an app communicate via HTTP/HTTPS or WebSocket, where the client (app) sends a request in JSON or XML format, the server processes it using server-side code (in languages like JavaScript with Node.js, Python with Flask/Django, etc.), and responds with the required data. Some more info: https://medium.com/@ankit.sachan/how-mobile-apps-connect-to-servers-a-comprehensive-guide-4af081c12813#:~:text=HTTP%2FHTTPS%20Requests%3A,responds%20with%20the%20necessary%20data. More detailed explanation: https://medium.com/@pavlokolodka/efficient-client-server-communication-an-overview-of-protocols-and-techniques-f73c1c1016d
21st Jun 2024, 1:18 AM
Chris Coder
Chris Coder - avatar
+ 2
Chris Coder Thank you very much
21st Jun 2024, 5:01 AM
Kuchenesser
+ 1
Thanks. I already did this course. My question is like with witch language they speak, like how they communicate.
20th Jun 2024, 10:59 PM
Kuchenesser
0
AI based courses. 😕
22nd Jun 2024, 12:42 AM
ASIM FARHEEN⭐🤺👿👿
ASIM FARHEEN⭐🤺👿👿 - avatar