diff --git a/context/input.go b/context/input.go index 7ebe3944..bbdda3a8 100644 --- a/context/input.go +++ b/context/input.go @@ -151,5 +151,6 @@ func (input *BeegoInput) Body() []byte { input.req.Body.Close() bf := bytes.NewBuffer(requestbody) input.req.Body = ioutil.NopCloser(bf) + input.RequestBody = requestbody return requestbody }