To show the servers API curl will be used to interact with the database. The examples assume the server to be running on the some host and listening on the port 1338.
The server startup script is located in the
bin/ directory of your Stairtower installation.
cd /path/to/stairtower/root/ bin/server
To give the server time to persist all changes and correctly shut down send him a
curl -X POST http://127.0.0.1:1338/_shutdown
_restart request allows the restart of the event loop only
curl -X POST http://127.0.0.1:1338/_restart
Print a short welcome message