E
E
ellz2018-02-11 03:20:52
Mobile development
ellz, 2018-02-11 03:20:52

What do mobile application servers look like?

Hello. It is necessary to implement the function of uploading photos to the server (from a mobile application) and its subsequent processing. The server will look the same as if it were written under the Web? If the server looks the same and is loaded on regular hosting, then any user can access it through a browser? If it were a web application, then the photo upload would look like this - input type="file", but how will the mobile application upload the file? And what is the best language to choose? c#, nodejs or python?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Donskoy, 2018-02-11
@sentike

To download images, videos, etc., an http request with the post method is used. When forming a request, headers, a request body, etc. are specified, which is usually done by the browser when submitting the form. Google is here to help.
There is option number 2, where communication with the client-server goes on raw tcp / udp and shells above them. The course of action:
0. Open a connection to the server
1. Open and read the file
2. Send packets with data (action, data, hash, etc. at your discretion)
3. Accept the packet and read it. Process action, extract data, check validity.
4. Save photo or any other action.

P
Peter, 2018-02-11
@Morpheus_God

You need a server side API.
And work with requests to it from the application.

V
vanyamba-electronics, 2018-02-13
@vanyamba-electronics

Use XML::RPC.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question