Listens on https port 7114
and will response back whatever is hosted in nginx
on that path after enforcing validation.
- docker compose
To start
the Docker Compose stack defined in the compose.yaml file, use:
docker compose up -d
curl http://localhost:7114/valid.json
output:
{
"id": 42,
"status": "Active"
}
curl http://localhost:7114/invalid.json
output:
curl: (18) transfer closed with 37 bytes remaining to read
To remove any resources created by the Docker Compose stack, use:
docker compose down