func handle(w http.ResponseWriter, r *http.Request) {
	req, err := readRequest(r.Body, r.Header.Get("Content-Type"))
	if err != nil {
		logrus.WithError(err).Error("read")
	}

	if err := writeResponse(*req, w, onlyUpdateStatus); err != nil {
		logrus.WithError(err).Error("write")
	}
}
func handle(w http.ResponseWriter, r *http.Request) {
	req, err := readRequest(r.Body, r.Header.Get("Content-Type"))
	if err != nil {
		logrus.WithError(err).Error("read")
	}

	if err := writeResponse(*req, w, onlyUpdateStatus); err != nil {
		logrus.WithError(err).Error("write")
	}
}
func handle ( w http . ResponseWriter , r * http . Request ) { req , err := readRequest ( r . Body , r . Header . Get ( " " ) ) if err != nil { logrus . WithError ( err ) . Error ( " " ) } if err := writeResponse ( * req , w , onlyUpdateStatus ) ; err != nil { logrus . WithError ( err ) . Error ( " " ) } }
// handle reads the request and writes the response
handle reads the request and writes the response