If you properly integrated with the frontend, it should work. I think there
are some mistakes. Could you  give some screenshot please?

On Thu, Aug 11, 2022 at 5:39 PM Salima Begum <[email protected]>
wrote:

> Hi,
> So, I am creating registration API. I written api for registration, Login
> and then user profile.
> I tested this API's in Postman here it is working. For User authentication
> I used JWT authentication. When I test in frontend view User Profile API is
> raising an error with
> ```
> HTTP 401 Unauthorized Allow: OPTIONS, GET Content-Type: application/json
> Vary: Accept WWW-Authenticate: Token { "detail": "Authentication
> credentials were not provided." }
> ```
> How to fix this Please help me out how to fix this.
>
> Thanks
> ~Salima
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django REST framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-rest-framework/73944851-58f4-4d55-ba67-b88bd55f1cfdn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-rest-framework/73944851-58f4-4d55-ba67-b88bd55f1cfdn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Best Regards,

Sreebash C. Das
Graduate in B.Sc in CSE
National University, Bangladesh

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/CALYgY9GRWoq7jgT7sxWTGp7%3Drzb-D8jMSBAXMswahFYB7dxmRA%40mail.gmail.com.

Reply via email to