From 4a8fe9a4fbfd09e1af00110317d721d1cfbb66d5 Mon Sep 17 00:00:00 2001 From: Tony Gilkerson Date: Fri, 16 Feb 2024 22:42:11 -0500 Subject: [PATCH] add to readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 ```