how can i get the target node response body from upstream? #5730
Unanswered
Git4Future
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I only find the [1] https://apisix.apache.org/docs/apisix/next/plugins/response-rewrite/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i want to replace the response body from target server in upstream .
just like string.gsub in lua.
but i can't get the response body, ngx.arg[1] seems retun nil value.
however, if using redirect plugin,i can only get 301 response html,not the upstream server's response
Beta Was this translation helpful? Give feedback.
All reactions