$ docker run --env PORT=8000 -p 8000:8000 -it honeytrap15/simple-file-server
POST method will put file which has content of send data. And return content of file.
$ curl -X POST http://localhost:8000/foo -d "bar"
bar
GET method will return content of file put by POST method.
$ curl -X GET http://localhost:8000/foo
bar
Content type
Image
Digest
Size
27.3 MB
Last updated
over 6 years ago
docker pull honeytrap15/simple-file-server