Add a feature to more easily accommodate old post endpoints that use formurlencoded data. Maybe it could be called apiClient.oldPost()!
See this ticket:
frontend-auth: invalidate csrf tokens if the authentication state of the user has changed. Regarding CSRF tokens in DRF: “The form has a valid CSRF token. After logging in in another browser tab or hitting the back button after a login, you may need to reload the page with the form, because the token is rotated after a login.”
It could watch for the cookie and if it appears do things like clear the cache, raise an event, other, etc.