implement POST /commands for apiv4 (#5849)

This commit is contained in:
Carlos Tadeu Panato Junior
2017-03-24 00:42:32 +01:00
committed by Joram Wilander
parent 42c3ea64a9
commit 6935e2d5ea
4 changed files with 122 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ func InitApi(full bool) {
InitCluster()
InitLdap()
InitBrand()
InitCommand()
app.Srv.Router.Handle("/api/v4/{anything:.*}", http.HandlerFunc(Handle404))