Closed sav7ng closed 1 year ago
if you mean Member-Token
, it is headers of client request headers, not upstream headers, client request headers only can be fetched in filter
function by request.getHeaders
.
@tzssangglass
Thank you for your patience. I use beforeBodyWrite
to process the upstream response and return the token
response, so that APISIX can get it
Issue description
The
postFilter
has taken effect, but now I encounter another problem, that is, thetoken
in therequest
of theclient
cannot be obtained in theupstreamHeaders
. I wonder if I understand it wrong?request parameters:
filter code:
log:
Environment