We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 653ac57 commit 3d2010bCopy full SHA for 3d2010b
README.md
@@ -12,7 +12,7 @@ task run
12
### Creating a heartbeat
13
14
```sh
15
-curl -X PUT http://localhost:8181/{id}
+curl http://localhost:8181/{id}
16
```
17
18
### Checking an existing heartbeat
main.go
@@ -169,7 +169,7 @@ func run(cliCtx *cli.Context) error {
169
170
func internalRouter() http.Handler {
171
mux := http.NewServeMux()
172
- mux.HandleFunc("PUT /{id}", handlePutHeartbeat)
+ mux.HandleFunc("/{id}", handlePutHeartbeat)
173
return mux
174
}
175
0 commit comments