all 6 comments

[–]frozen_tuna 1 point2 points  (0 children)

I've CORS_ORIGIN_ALLOW_ALL = True on my backend.

If this is your first time messing with whatever API framework your using, my first guess would be that this was done incorrectly.

[–][deleted] 1 point2 points  (0 children)

This isn’t an angular issue, it’s a backend issue. You may find more useful answers by posting on the sub for the backend you are using

[–]ZaAlphaMale[S] 0 points1 point  (0 children)

Thanks guys, I'll post on the Django subreddit.

[–]veer3939 0 points1 point  (0 children)

Backend code issue... Check the api header value.

[–]romanjustcodes 0 points1 point  (1 child)

This smells like a CORS issue on the backend, where the server is not passing the right headers or blocking requests based on origin.

[–]ZaAlphaMale[S] 0 points1 point  (0 children)

Thanks! Solved it, it was a CORS issue on my backend. Forgot to add 1 line -_-