how to read response data
Closed this issue · 1 comments
mrtruyen commented
Hi team,
How can I read the response data on hook here:
hooks: {
onResponse (req, res, stream) {
// I want to read response data here
}
jkyberneees commented
Hi @mrtruyen , please see an example here: https://github.com/BackendStack21/fast-gateway/blob/master/demos/post-processing.js