diff --git a/cmd/server/main.go b/cmd/server/main.go index 6718066..4cc3665 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -33,7 +33,7 @@ func main() { r.HandleFunc("/pagination/limitoffset/page", pagination.HandleLimitOffsetPage).Methods(http.MethodGet, http.MethodPut) r.HandleFunc("/pagination/limitoffset/offset", pagination.HandleLimitOffsetOffset).Methods(http.MethodGet, http.MethodPut) r.HandleFunc("/pagination/cursor", pagination.HandleCursor).Methods(http.MethodGet, http.MethodPut) - r.HandleFunc("/retries", retries.HandleRetries).Methods(http.MethodGet) + r.HandleFunc("/retries", retries.HandleRetries).Methods(http.MethodGet, http.MethodPost) r.HandleFunc("/errors/{status_code}", errors.HandleErrors).Methods(http.MethodGet) r.HandleFunc("/optional", acceptHeaders.HandleAcceptHeaderMultiplexing).Methods(http.MethodGet) r.HandleFunc("/readonlyorwriteonly", readonlywriteonly.HandleReadOrWrite).Methods(http.MethodPost)