diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go index 607b8ef4..e4b7eb80 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go @@ -157,7 +157,7 @@ func Setup( common.MakeAPI("login", func(req *http.Request) util.JSONResponse { return readers.Login(req, accountDB, deviceDB, cfg) }), - ).Methods("POST", "OPTIONS") + ).Methods("GET", "POST", "OPTIONS") r0mux.Handle("/pushrules/", common.MakeAPI("push_rules", func(req *http.Request) util.JSONResponse {