flutter-ui-django-rest-api-backend icon indicating copy to clipboard operation
flutter-ui-django-rest-api-backend copied to clipboard

Error: XMLHttpRequest error

Open UndyingScroll opened this issue 4 years ago • 0 comments

Running in Windows generates an "Error: XMLHttpRequest error." due to CORS not being enabled on Django. Adding CORS to django (for example by installing install django-cors-headers and enabling in settings.py) corrects the error.

UndyingScroll avatar Nov 07 '20 13:11 UndyingScroll