Skip to content

FormData upload improvement #23

Description

@behzodfaiziev

Problem

  • when the user uploads a video or image, assuming his accessToken has expired, the backend returns 401 error. After refreshing accessToken user uploads again. This case takes 2x time in upload, so the solution is:

Solution

  • before uploading formData or multiplartFile , first check if the accessToken is not expired, if it is then update the accessToken before uploading files

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2High Priority but not immediateenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions