simple nginx with perl-module create from alpine for usage as mock server
2.6K
docker run -d -p 80:80 cnam/mock-server
Write new mock
curl 127.0.0.1/write -XPOST -d '{"request":{"uri":"test"}, "response": {"body": {"json":"test-data"}}}'
Read mock from application
Request
curl 127.0.0.1/test
Response
{
"json": "test-data"
}
Content type
Image
Digest
sha256:d4a5fd69a…
Size
15.9 MB
Last updated
about 11 years ago
docker pull cnam/mock-server