How does file upload/ download works internally, does it require multiple request and response? I am asking this question because I am using spring security for JSON Web Token (JWT) Authentication and if file upload/ download requires multiple request/ response then how am I supposed to send the authentication/ refresh token with the file upload/ download request multiple times.
I am using JWT in Java Swing based desktop application.