I have a web written in Django framework and created Rest Framework for the API. I am required to write an android application based on the Django framework (Android and Django newbie).
However I do not know how to pass the data from android (user input) into database MYSQL through Django Rest Framework. I done a lot of research in past 2 weeks, but still I cannot see any solution (text tutorial, video tutorial, code example) related to this issue.
Note: I will not using any PHP script and looking forward integrate with Django Rest Framework.
Let's have a testing example API from Django : http://json-api.jerel.co/entries
User input field from android: blog, headline, body text, pub date, mod date, authors
Which class/library in android involved? Volley? httpUrl? Json?
I appreciate that anyone can share a simple code to get this done.
======================================================================
FYI,
Database: MYSQL
Server : CentOS
Web : Python - Django
Android : Android studio
============================================================================ After tried all the solutions on net, and excluded those apache http client deprecated post, this is the workable and simplest solution (in my opinion):
https://stackoverflow.com/a/33937147/2466516 Thanks to Nitro.