DRPC supports REST.
But sadly it is not well documented (that is my fault).
If you set the config `drpc.http.port` to a non zero value an HTTPS server will 
come up.  You can hit it using any of
You can POST the argument to `/drpc/${func}` where ${func} is the function you 
want to hit.
You can also do a GET on `/drpc/${func}/${args}` if args is small enough to fit 
in the URL.
Doing a GET on `/drpc/${func}` will do a request with empty args.
There are also a lot of configs, like with the UI, to allow you to have https, 
and authentication/authorization for DRPC too.


- Bobby


On Wednesday, July 5, 2017, 12:58:01 AM CDT, J.R. Pauley <[email protected]> 
wrote:

Anyone have experience/example of how to add a REST /get API onto a 
TridentTopology? I want to run REST queries over http vs from a DRPC Client. I 
see some hints that elasticsearch may have some useful code but can't locate 
anything tangible. 
Any clues appreciated

Reply via email to