Skip to content

Commit 248e4ef

Browse files
Merge pull request #6 from speakeasy-api/retries_includes_post
feat: retries includes post
2 parents f4a87b4 + 454eee8 commit 248e4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
r.HandleFunc("/pagination/limitoffset/page", pagination.HandleLimitOffsetPage).Methods(http.MethodGet, http.MethodPut)
3434
r.HandleFunc("/pagination/limitoffset/offset", pagination.HandleLimitOffsetOffset).Methods(http.MethodGet, http.MethodPut)
3535
r.HandleFunc("/pagination/cursor", pagination.HandleCursor).Methods(http.MethodGet, http.MethodPut)
36-
r.HandleFunc("/retries", retries.HandleRetries).Methods(http.MethodGet)
36+
r.HandleFunc("/retries", retries.HandleRetries).Methods(http.MethodGet, http.MethodPost)
3737
r.HandleFunc("/errors/{status_code}", errors.HandleErrors).Methods(http.MethodGet)
3838
r.HandleFunc("/optional", acceptHeaders.HandleAcceptHeaderMultiplexing).Methods(http.MethodGet)
3939
r.HandleFunc("/readonlyorwriteonly", readonlywriteonly.HandleReadOrWrite).Methods(http.MethodPost)

0 commit comments

Comments
 (0)