techwithtim / Django-React-Full-Stack-App

99 stars 52 forks source link

Axios Error #1

Open RavDas opened 1 month ago

RavDas commented 1 month ago

ss

Hi @techwithtim, what is the reason for the above axios Error?

julioccorderoc commented 4 weeks ago

I'm having the same issue. The same happens with /login. The backend is fine (if tested alone), the source lies in the frontend (possible in api.js)

CedricBaaklini commented 1 week ago

I swear, Tim has the magic touch.

lucasswed commented 1 week ago

The problem may be the missing slash when you do a post or delete request, django don´t support that.

dcastf01 commented 3 days ago

I had the same issue and was solved setting the .env in the correct place, I have it initially under src but it's under fronted.

I hope with this your problem is solved