Open wangming1993 opened 6 years ago
bodyBytes, _ := ioutil.ReadAll(req.Body) req.Body.Close() // must close req.Body = ioutil.NopCloser(bytes.NewBuffer(bodyBytes))