title: File upload/ download using REST and JSON Web Token
body: <p>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 (<a href="https://jwt.io/" rel="nofollow noreferrer">JWT</a>) 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.</p>
  
  <p>I am using JWT in Java Swing based desktop application.</p>