diff --git a/README.md b/README.md index b1cf24a..2e775d3 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,13 @@ kubectl -n iot port-forward svc/serial-gateway 8080:8080 curl -X POST "http://localhost:8080/pub" -d "a-message" ## or -curl -X POST "https://serial-gateway.tonygilkerson.us/pub" -d "a-message" +curl -X POST "https://serial-gateway.tonygilkerson.us/pub" -d "GatewayHeartbeat:1234" +curl -X POST "https://serial-gateway.tonygilkerson.us/pub" -d "MailboxDoorOpened:1" + +for i in $(seq 100); do + echo "Post MailboxDoorOpened:$i" + curl -X POST "https://serial-gateway.tonygilkerson.us/pub" -d "MailboxDoorOpened:$i" + sleep 7 +done ```