From 4c340dd016b06f310db01fdfd974157da78d1815 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 15 Aug 2016 10:46:27 +0100 Subject: [PATCH] s/GET/POST/ --- src/github.com/matrix-org/go-neb/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/go-neb/api.go b/src/github.com/matrix-org/go-neb/api.go index 2b68d58..c0f22b4 100644 --- a/src/github.com/matrix-org/go-neb/api.go +++ b/src/github.com/matrix-org/go-neb/api.go @@ -235,7 +235,7 @@ type getServiceHandler struct { } func (h *getServiceHandler) OnIncomingRequest(req *http.Request) (interface{}, *errors.HTTPError) { - if req.Method != "GET" { + if req.Method != "POST" { return nil, &errors.HTTPError{nil, "Unsupported Method", 405} } var body struct {