Skip to content

Use grpc gateway to create rest API whose body is a list #1617

Closed
@ganeshdipdumbare

Description

@ganeshdipdumbare

📚 Documentation

I am not able to find documentation as well as any example in case I want to accept list in the body of rest api as follows -
[ { "email": "Hello" }, { "email": "Hello" } ]

I am not sure if it is possible to create proto message to have such a rest api. Please let me know if it is not possible as I am working with api call where 3rd party caller is sending array directly as above.

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