I’ve written a small app in Django and am using DRF as the API. Whenever I test the connection I get the below response from AppGyver
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined
I’ve added the appropriate headers - the same headers that I use for curl and other tools but it still fails.
Do I have to add CORS to my Django project in order for this to work?