ExpressJS app running on martyca/alpinenodejs that returns what you send it.
2.6K
ExpressJS container that repeats what you say.
https://hub.docker.com/repository/docker/martyca/alpinenodejs
docker run -d -p 8080:8080 martyca/echobox
curl -s -X PUT -d "foo=bar" \-H "Accept: application/json" "localhost:8080/foo/bar?foo=bar&baz=qux" | jq .
{
"Method": "PUT",
"Headers": {
"host": "localhost:8080",
"user-agent": "curl/7.54.0",
"accept": "application/json",
"content-length": "7",
"content-type": "application/x-www-form-urlencoded"
},
"Host": "localhost",
"Path": "/foo/bar",
"Queries": {
"foo": "bar",
"baz": "qux"
},
"data": {
"foo": "bar"
}
}
Content type
Image
Digest
Size
23.1 MB
Last updated
over 6 years ago
docker pull martyca/echobox