Hello,
I am using Angular 8 with Django and I'm trying to retrieve JWT token using POST 'api/login/social/jwt-pair/', but I'm no able to accomplish this.
If I make a request like this, using HttpClient:
What am I doing wrong??? All my posts in my API work but this one doesn't.
I even tried to have a middleware so I could format the request.data and it be accepted by post method, but it doesn't work either, I keep receiving the same messages. Even though my middleware is able to get the provider from request. I don't know what I am missing, can anyone help?
Hello, I am using Angular 8 with Django and I'm trying to retrieve JWT token using POST 'api/login/social/jwt-pair/', but I'm no able to accomplish this. If I make a request like this, using HttpClient:
All I receive is: Provider is not specified Bad Request: /api/login/social/jwt-pair/
Also tried:
But all I receive is:
Not Found: /api/login/social/jwt-pair/
What am I doing wrong??? All my posts in my API work but this one doesn't. I even tried to have a middleware so I could format the request.data and it be accepted by post method, but it doesn't work either, I keep receiving the same messages. Even though my middleware is able to get the provider from request. I don't know what I am missing, can anyone help?