Skip to content

Commit d07947b

Browse files
authored
feat: add support for POST (#46)
Add undocumented POST to the validate endpoint only as fallback for compatibility.
1 parent 070cdd4 commit d07947b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ func setupHandlers(app *fiber.App) {
6565

6666
v1.Get("/status", statusHandler.GetStatus)
6767
v1.Add("QUERY", "/validate", validateHandler.Query)
68+
v1.Add("POST", "/validate", validateHandler.Query)
6869
}

0 commit comments

Comments
 (0)