diff --git a/internal/wrphandlers/mocktr181/handler.go b/internal/wrphandlers/mocktr181/handler.go index 1ee5198..c3183ad 100644 --- a/internal/wrphandlers/mocktr181/handler.go +++ b/internal/wrphandlers/mocktr181/handler.go @@ -142,7 +142,8 @@ func (h Handler) HandleWrp(msg wrp.Message) error { default: // currently only get and set are implemented for existing mocktr181 - statusCode = http.StatusOK + statusCode = 520 + payloadResponse = []byte(fmt.Sprintf(`{"message": "command %s is not support"}`, command)) } response := msg