Save APIs through a frontend and call them from your server side application/apiclient.
Must have Java version 11 or above installed. For a minimal JRE to run the app you can Download Eclipse Temurin JRE from here.
Download the jar file from Releases section. Create a folder named 'saved-responses' in the same directory as the jar to save responses. Folder structures is as follows:
dummy-api-2.0.0.jar
saved-responses
|_GET
|_POST
|_DELETE
|_PUT
Open terminal/Command Line where the jar is and type.
java -jar dummy-api-2.0.0.jar
The app should start. Go to localhost:8080 in your browser and you should see the App running.
You can find the following properties in the application.properties
file.
\# Misc
logging.level.org.atmosphere = warn
spring.mustache.check-template-location = false
\# You can change these to your liking
server.port=${PORT:8080}
response.folder.name = saved-responses
base.url = localhost
server.error.include-stacktrace=never
Email me for any issues.