This repository contains a simple server intended to be used during WissKI Testing. It is written in go and depends only on the standard library.
To run it locally, use:
go run ./cmd/It supports a very simple protocol:
- HTTP GET
/path/to/file- Retrieve a file from the server. - HTTP PUT
/path/to/file- Upload a file to the server (with optional Content-Type header) - HTTP DELETE
/path/to/file- Delete a file from the server
All files are only stored in memory. Stopping the server automatically removes the files.
The image exists as a docker image on GitHub Packages. To start a production-ready server, use something like:
docker run --publish 8888:8888 --read-only ghcr.io/fau-cdi/static_test_server:latestMIT, see [./LICENSE].