Skip to content

Add default HTTP routes for non-annotated methods #123

@anhnmt

Description

@anhnmt

I have the following program: https://github.com/anhnmt/gprc-dynamic-proto/blob/main/cmd/service/main.go

I have successfully connected grpc and restapi, can I call the api like the following?

curl --header "Content-Type: application/json" \
    --data '{}' \
    http://localhost:8080/user.v1.UserService/List

I tried and the result was: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions