I'm proxying well all the calls to /api to the postgrest server and all works well selecting like http://localhost:8081/api/importacion?limit=10&offset=0, but when I call an rpc it seems that the proxy is unable to get the response. The rpc works well if I call directly http://postgrest:3000/rpc/crea_factura_emitida but hangs if I call 'http://localhost:8081/api/rpc/crea_factura_emitida`
Do I need additional header configuration to make an rpc?
In node (express)+http-proxy-middleware
I'm proxying well all the calls to /api to the postgrest server and all works well selecting like
http://localhost:8081/api/importacion?limit=10&offset=0
, but when I call an rpc it seems that the proxy is unable to get the response. The rpc works well if I call directlyhttp://postgrest:3000/rpc/crea_factura_emitida
but hangs if I call 'http://localhost:8081/api/rpc/crea_factura_emitida`Do I need additional header configuration to make an rpc?
Headers