diff --git a/controller/endpoint/http.go b/controller/endpoint/http.go index c15a07bc..34c3cd53 100644 --- a/controller/endpoint/http.go +++ b/controller/endpoint/http.go @@ -63,6 +63,8 @@ func (conn *HTTPEndpointConn) Send(msg string) error { if err != nil { return err } + + req.Header.Set("Content-Type", "application/json") resp, err := conn.client.Do(req) if err != nil { return err