Flutter with Python Django RESTFUL API Flutter with Python Django RESTFUL API dart dart

Flutter with Python Django RESTFUL API


You need to add http package to your project. Then wrap the http call to your Python REST endpoint in a Future. I hate posting a link as an answer but in this case can't think of anything better than this cookboook example which answers your question perfectly!


Also when you run the django server make sure that you run it with the command:python manage.py runserver 0.0.0.0:8000 .