Back to Grpc Gateway

GenerateUnboundMethodsEchoServiceApi

examples/internal/clients/generateunboundmethods/docs/GenerateUnboundMethodsEchoServiceApi.md

2.29.04.4 KB
Original Source

\GenerateUnboundMethodsEchoServiceApi

All URIs are relative to https://localhost

MethodHTTP requestDescription
GenerateUnboundMethodsEchoServiceEchoPost /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/EchoEcho method receives a simple message and returns it.
GenerateUnboundMethodsEchoServiceEchoBodyPost /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/EchoBodyEchoBody method receives a simple message and returns it.
GenerateUnboundMethodsEchoServiceEchoDeletePost /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/EchoDeleteEchoDelete method receives a simple message and returns it.

GenerateUnboundMethodsEchoServiceEcho

ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEcho(ctx, body) Echo method receives a simple message and returns it.

The message posted as the id parameter will also be returned.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyExamplepbGenerateUnboundMethodsSimpleMessageGenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service.

Return type

ExamplepbGenerateUnboundMethodsSimpleMessage

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateUnboundMethodsEchoServiceEchoBody

ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEchoBody(ctx, body) EchoBody method receives a simple message and returns it.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyExamplepbGenerateUnboundMethodsSimpleMessageGenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service.

Return type

ExamplepbGenerateUnboundMethodsSimpleMessage

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GenerateUnboundMethodsEchoServiceEchoDelete

ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEchoDelete(ctx, body) EchoDelete method receives a simple message and returns it.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyExamplepbGenerateUnboundMethodsSimpleMessageGenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service.

Return type

ExamplepbGenerateUnboundMethodsSimpleMessage

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]