B
B
Benderm2018-02-21 16:43:16
Mobile development
Benderm, 2018-02-21 16:43:16

Scheme of interaction between a mobile application and a website?

Hello!
The situation is this. There is a site with user accounts where they can upload photos/videos, etc. The client wants to make a mobile application that will interact with the site, the user took a video or photo and uploads it to the site via the phone. The application will also remind the person that an action needs to be taken.
Tell me what should be implemented on the site side so that the mobile application can interact with the site. I would be grateful if you send links to articles that describe in detail the interaction scheme.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bashinsky, 2018-02-21
@BashkaMen

We need to make an API for interaction.
By login-password, issue a token for working with the API, which will need to be somehow attached to requests (in the header or in the request parameters).
Well, then just make a method that will receive the Stream of the file and already there decide what to do with it.
https://habrahabr.ru/company/mailru/blog/115163/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question