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 -dcurl http://localhost:7114/valid.jsonoutput:
{
"id": 42,
"status": "Active"
}
curl http://localhost:7114/invalid.jsonoutput:
curl: (18) transfer closed with 37 bytes remaining to read
To remove any resources created by the Docker Compose stack, use:
docker compose down