Closed blainekasten closed 5 years ago
Not sure if this is something you are interested in, but I needed to be able to pass through JSON from a request. It doesn't seem that you guys use the write method at all. So this uses that if body is specified on the option.
write
body
For example:
proxy({ ... body: JSON.stringify(req.body), });
closing due to inactivity, and I no longer need this.
Not sure if this is something you are interested in, but I needed to be able to pass through JSON from a request. It doesn't seem that you guys use the
write
method at all. So this uses that ifbody
is specified on the option.For example: