I have a proxy handler
var options = {
method: method,
path: route,
handler: {
proxy: {
...
}
}
};
server.route(options);
How I can modify the request body before it is handled by the proxy ?
I have a proxy handler
var options = {
method: method,
path: route,
handler: {
proxy: {
...
}
}
};
server.route(options);
How I can modify the request body before it is handled by the proxy ?
As per their documentation.. You can change the uri.. But not the body.. Please see the docs for more info.. Else open a bug in hapijs repo