Skip to content

Quickstart execute plugin URL produces 404 error #212

@gallilama

Description

@gallilama

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions