Thanks so much Bobby. I have ti working.! Timing of this info could not be better as I urgently am working on dog-and-pony show for execs and desperate to find REST DRPC solution
Cheers, Jim On Wed, Jul 5, 2017 at 11:37 AM, Bobby Evans <[email protected]> wrote: > 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 >
