Answer the question
In order to leave comments, you need to log in
How to change MySql database from Android application?
The question may seem banal and stupid, or vice versa unsure!
There is a website on Wordpress, imagine it has a rating of posts and the user of the site can rate the post and thereby increase the rating of the post. The change is written to the MySql database (for example). And the Json API outputs the value in the application. And how to change the rating in the application so that its value changes on the site? That is, the user clicked on an asterisk and from the application the value got into the database, and here and there it turned out that the rating went up. Roughly outlined his idea.
I'm just a beginner and I want to understand how everything works, do not judge strictly!
Answer the question
In order to leave comments, you need to log in
When you click on the star, the application should send, for example, a POST request containing the required information. The server must process the incoming request and make changes to the database if the request is recognized as legitimate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question