You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/17 08:31:23 UTC
[GitHub] [apisix] tzssangglass commented on issue #4837: How can i encrypt the response body?
tzssangglass commented on issue #4837:
URL: https://github.com/apache/apisix/issues/4837#issuecomment-900101911
1. Refer to https://github.com/apache/apisix/blob/a671909576ae98f697df8f225124c0b09989cdb6/apisix/plugins/grpc-transcode/response.lua#L32-L42 to learn how to get a response.
2. Implement your own encrypt logic
3. Refer to https://github.com/apache/apisix/blob/22ee20c480332ffdb43a1b2e8f4114ea81619d32/apisix/plugins/response-rewrite.lua#L124-L139 to learn how to rewrite the response
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org