Skip to content

Commit

Permalink
add to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tonygilkerson committed Feb 17, 2024
1 parent be04ceb commit 4a8fe9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```

0 comments on commit 4a8fe9a

Please sign in to comment.