So say I'm using a nodejs proxy server, I want it edit the response from a json endpoint. A bit like the fiddler auto-responder, except its in nodejs. For example, say there's the json code "name": "john". I want to use nodejs to edit the response so it says "name": "jane" instead. Can anyone help?
Asked
Active
Viewed 92 times
0
-
1Please, show us the code what have you been done so far. – lependu Nov 11 '18 at 10:17
-
Can you please check: https://stackoverflow.com/questions/20351637/how-to-create-a-simple-http-proxy-in-node-js - you can try modifying the request according to your need. – iyerrama29 Nov 11 '18 at 15:37
-
I want my proxy to intercept the data from the server, edit it, then pass it to the client. – Magikal Nov 11 '18 at 20:40