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

Quickstart execute plugin URL produces 404 error #212

Open
gallilama opened this issue Apr 27, 2023 · 0 comments
Open

Quickstart execute plugin URL produces 404 error #212

gallilama opened this issue Apr 27, 2023 · 0 comments

Comments

@gallilama
Copy link

I was going through the Quickstart tutorial, and noticed the last section of the tutorial "Executing plugins" continually produced 404 errors. The instructions from Quickstart are:

export ENV_TOKEN=<your previously generated token>

curl http://local.suborbital.network:8080/com.suborbital.acmeco/default/hello/v1.0.0 \
     --header "Authorization: Bearer $ENV_TOKEN" \
     -d 'my friend'
404 page not found

After a little investigation of se2-node exec.ts file, I found a different URL structure which works:

export ENV_TOKEN=<your previously generated token>

curl http://local.suborbital.network:8080/name/com.suborbital.acmeco/default/hello \
     --header "Authorization: Bearer $ENV_TOKEN" \
     -d 'my friend'

hello, my friend

The current quickstart appears to be ${execUri}/${tenant}/${namespace}/${name}/${version}
But what works appears to be ${execUri}/name/${tenant}/${namespace}/${name}

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

1 participant