By default the http port for DRPC is 3774. DRPC also requires a function and a
payload. Your topology that is using DRPC should have been configured with a
function to use. I don't know what that function is but you should know
because you have launched your own topology. If you have configured and
launched a DRPC server on localhost and the function your are using is test,
and you want to send a payload of payload to the topology, then you could do
something like
curl http://localhost:3774/drpc/test/payload
If your payload is too large/complex to include in a URL, then you can POST
your payload to http://localhost:3774/drpc/test
- Bobby
On Friday, December 16, 2016 9:48 AM, kalliopi kalantzaki
<[email protected]> wrote:
Hello,
I am confused probably by something quite trivial for most drpc users. I have
implemented an initial Drpc storm project. My questions are:
1) If a third party wants to post an http request to my drcp application, how
is this possible? I have found that this is made according to
http://drpc_server:drpc_http_port/drpc/app/request_to_post.
However, this does not work... I have configured my drpc server as localhost,
according to default configurations on storm.
2) If this is possible in storm, how can i get this value (the request_to_post
value) in my application? I haven't found any documentation on that...