Hello,
I'm developing an API in Java. It is basically a java servlet that returns content in json (application / json). With a tomcat server. One of the answer fields is supposed to be a link to downloading a .txt file.
I do not know how. Any tips?
Writing to the file system every request looks like a killer, even though I have some cron to clean the directories with the files.
Any way to give a temporary link only while that request for a period without saving to the file system?
Thank you.