On Saturday 27 May 2017 02:08:02 Robin Lery wrote: > curl -X POST -d "email=ad...@gmail.com&password=123123" > http://localhost/api-token-auth/ > > "non_field_errors": [ > "Unable to log in with provided credentials." > ] > > What am I missing? Why is it that its working while loggin to the > django admin site, but get error when getting token with django rest > framework jwt?
Shot in the dark: Your payload is not json. -- 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/17698992.v6nmsmD0e2%40devstation. For more options, visit https://groups.google.com/d/optout.