This question might be a duplicate one, but I could not find the exact answer so I am asking it.
I am developing a Spring REST application. I want to take some images in POST request and store them somewhere in the server, which is not in the project directory, so it won't be a of the WAR file.
I will be storing image URLs in the database and sending them in GET response.
How can I do that? If there is some tutorial link that would be helpful.