This Spring Boot application aims to allow file exchange on a server through an API call.
A configuration file is being used by a tool, and for some reason, that tool requires a different configuration. Through the API call, you can swap out this file online.
I know there are other methods to accomplish this type of task, but if needed... we have this.
java -jar swap-file-server-0.0.1-SNAPSHOT.jar
Configurations in src\main\resources\application.properties
Simple validation of parameter Request-Credential (needs improvement for request security)
curl --location --request POST '192.168.113.2:8048/rest/swapfile' \
--header 'Request-Credential: someMd5HashOrRequestSecurityImplementation'