Closed zxyao145 closed 8 months ago
Maybe you can do it by the following two steps:
func (r *Request) SetBody(body []byte) {
r.body = body
}
Yes, and this is a new feature. https://github.com/apache/apisix/pull/9990
In the old version, although this API existed, it did not take effect.
Issue description
How to rewrite request body?
Environment
uname -a
): debian