0
Hello,
I am developing a Java API. It is basically a java Servlet that returns content in json (application/json). With a Tomcat server. One of the response fields is supposed to be a link to the download of a . txt file.
I don’t know how to do it. Any tips?
Writing in the file system at each request seems me killer, even though I have some cron to clear directories with the files.
Some way to give a temporary link only while that request for a period without saving in the file system?
Thank you.