illidan33 commented on issue #10915: URL: https://github.com/apache/apisix/issues/10915#issuecomment-1929954002
> > function _M.access(conf, ctx) > > local body = ngx.req.get_body_data() > > Here you are fetching the request body in the **access** phase which is related to the request (not the response). I am trying to return a 500 status if the **response** body is invalid yes, you are right. Please ignore this reply. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
