I’m currently trying to use the get token function which gets the token from the website cookies to extract the refresh token and send it django rest api as a token but i keep getting Bad Request:
/api/v1/auth/refresh/
[12/Sep/2024 18:41:02] "POST /api/v1/auth/refresh/ HTTP/1.1" 400 39
[12/Sep/2024 18:41:02] code 400, message Bad request syntax ('125')
[12/Sep/2024 18:41:02] "125" 400 -
i tried console logging the token and it is the token but my django keeps returning this error can someone please explain it to me