Skip to content

Commit ef9e8cc

Browse files
committed
feat: add support for POST
Add undocumented POST to the validate endpoint only as fallback for compatibility.
1 parent 070cdd4 commit ef9e8cc

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)