The only thing I can see that might be the error is 'http://127.0.0.1:4200' in CORS_ORIGIN_WHITELIST. It's requested with 'http://localhost:4200' as can be seen in the error message. If that's simple string matching, OPTIONS request will fail.
On Thu, Sep 21, 2017 at 10:51 AM, Rakhee Menon <menonrakhe...@gmail.com> wrote: > > Hey, >>> >>> Yes i have installed cors headers and added it in installed apps and in >>> middleware >> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/87177918-1c8d-4a42-bceb-61de109a9dfa%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Bgw1GUMgjESZfbS7OHPB0Gnm8RxnyF8k_Eudm3wjc%2B42fefsA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.