Skip to content

Commit

Permalink
Change to POST instead of GET.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Apr 10, 2024
1 parent b03df0c commit a1c679d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {
}

// Launching a watcher to pick up changes and launch jobs.
http.HandleFunc("GET /new/{path}", func(w http.ResponseWriter, r *http.Request) {
http.HandleFunc("POST /new/{path}", func(w http.ResponseWriter, r *http.Request) {
reqpath := r.PathValue("path")
log.Println("processing " + reqpath)

Expand Down

0 comments on commit a1c679d

Please sign in to comment.