Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs should contain API endpoints for interacting with dapr and how dapr interacts with user code #85

Closed
AaronCrawfis opened this issue Oct 8, 2019 · 3 comments

Comments

@AaronCrawfis
Copy link
Collaborator

For example dapr service invocation is triggered by:
http://localhost:<DAPR_HTTP_PORT>/v1.0/invoke/<id>/method/<method-name>

and reaches out to the app by:

http://localhost:<app-port>/<method-name>

@jocko-wowza
Copy link
Contributor

Is there somewhere we can get details like @AaronCrawfis is asking about. I have a configuration that is using Redis as the event store, but I can't find any documentation on how to trigger an event in this configuration.

@jocko-wowza
Copy link
Contributor

jocko-wowza commented Nov 11, 2019

I believe I found the answer in the sample code repository. It's not in line with the documentation, so it was difficult to find, and you have to read the code to determine the actual endpoints.

Reading through the sample code here:
https://github.com/dapr/samples/tree/master/5.bindings

The Node app code actuates the trigger by calling this DAPR endpoint:
POST http://localhost:{}/v1.0/bindings/sample-topic".format(dapr_port)

Which appears to use this conventional structure:
POST http://localhost:[DAPR-port-number]/v1.0/bindings/[event-name]

@amanbha
Copy link
Contributor

amanbha commented Mar 26, 2020

Addressed in PR #381

@amanbha amanbha closed this as completed Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants