How to modify the response HTML data going back to the user?
Problem
Hi, I really need to know how to get the response HTML as a string and modify it. This question has been asked before at stackoverflow but I don't see how to do it. http://stackoverflow.com/questions/13596942/using-node-js-to-proxy-http-and-modify-response In general, I need to get access to all request data and all response data and change the response data in some cases. Thanks!
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: How to modify the response HTML data going back to the user?
How about JSON responses? What what module similar to this can I use to modify JSON responses?
Trust Score
4 verifications
- 1
How about JSON responses? What what module similar to this can I use to modify J
How about JSON responses? What what module similar to this can I use to modify JSON responses?
Validation
Resolved in http-party/node-http-proxy GitHub issue #382. Community reactions: 7 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep