You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have and rpc api which I'm proxying via http-proxy. I would like to check request json payload and restrict certain methods (not to proxy it further and reply with error)
I have no possibility to do so, since request.body is not parsed in preHander.
Example
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
🚀 Feature Proposal
I would like to have the possibility to validate the request payload before proxying it further.
E.g.
Currently,
request.body
in preHandler is a streamso I can't have something like this:
Motivation
I have and rpc api which I'm proxying via http-proxy. I would like to check request json payload and restrict certain methods (not to proxy it further and reply with error)
I have no possibility to do so, since request.body is not parsed in preHander.
Example
No response
The text was updated successfully, but these errors were encountered: