github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/clients/generateunboundmethods/docs/GenerateUnboundMethodsEchoServiceApi.md (about) 1 # \GenerateUnboundMethodsEchoServiceApi 2 3 All URIs are relative to *https://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**GenerateUnboundMethodsEchoServiceEcho**](GenerateUnboundMethodsEchoServiceApi.md#GenerateUnboundMethodsEchoServiceEcho) | **Post** /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/Echo | Echo method receives a simple message and returns it. 8 [**GenerateUnboundMethodsEchoServiceEchoBody**](GenerateUnboundMethodsEchoServiceApi.md#GenerateUnboundMethodsEchoServiceEchoBody) | **Post** /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/EchoBody | EchoBody method receives a simple message and returns it. 9 [**GenerateUnboundMethodsEchoServiceEchoDelete**](GenerateUnboundMethodsEchoServiceApi.md#GenerateUnboundMethodsEchoServiceEchoDelete) | **Post** /grpc.gateway.examples.internal.proto.examplepb.GenerateUnboundMethodsEchoService/EchoDelete | EchoDelete method receives a simple message and returns it. 10 11 12 # **GenerateUnboundMethodsEchoServiceEcho** 13 > ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEcho(ctx, body) 14 Echo method receives a simple message and returns it. 15 16 The message posted as the id parameter will also be returned. 17 18 ### Required Parameters 19 20 Name | Type | Description | Notes 21 ------------- | ------------- | ------------- | ------------- 22 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 23 **body** | [**ExamplepbGenerateUnboundMethodsSimpleMessage**](ExamplepbGenerateUnboundMethodsSimpleMessage.md)| GenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service. | 24 25 ### Return type 26 27 [**ExamplepbGenerateUnboundMethodsSimpleMessage**](examplepbGenerateUnboundMethodsSimpleMessage.md) 28 29 ### Authorization 30 31 No authorization required 32 33 ### HTTP request headers 34 35 - **Content-Type**: application/json 36 - **Accept**: application/json 37 38 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 39 40 # **GenerateUnboundMethodsEchoServiceEchoBody** 41 > ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEchoBody(ctx, body) 42 EchoBody method receives a simple message and returns it. 43 44 ### Required Parameters 45 46 Name | Type | Description | Notes 47 ------------- | ------------- | ------------- | ------------- 48 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 49 **body** | [**ExamplepbGenerateUnboundMethodsSimpleMessage**](ExamplepbGenerateUnboundMethodsSimpleMessage.md)| GenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service. | 50 51 ### Return type 52 53 [**ExamplepbGenerateUnboundMethodsSimpleMessage**](examplepbGenerateUnboundMethodsSimpleMessage.md) 54 55 ### Authorization 56 57 No authorization required 58 59 ### HTTP request headers 60 61 - **Content-Type**: application/json 62 - **Accept**: application/json 63 64 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 65 66 # **GenerateUnboundMethodsEchoServiceEchoDelete** 67 > ExamplepbGenerateUnboundMethodsSimpleMessage GenerateUnboundMethodsEchoServiceEchoDelete(ctx, body) 68 EchoDelete method receives a simple message and returns it. 69 70 ### Required Parameters 71 72 Name | Type | Description | Notes 73 ------------- | ------------- | ------------- | ------------- 74 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 75 **body** | [**ExamplepbGenerateUnboundMethodsSimpleMessage**](ExamplepbGenerateUnboundMethodsSimpleMessage.md)| GenerateUnboundMethodsSimpleMessage represents a simple message sent to the unannotated GenerateUnboundMethodsEchoService service. | 76 77 ### Return type 78 79 [**ExamplepbGenerateUnboundMethodsSimpleMessage**](examplepbGenerateUnboundMethodsSimpleMessage.md) 80 81 ### Authorization 82 83 No authorization required 84 85 ### HTTP request headers 86 87 - **Content-Type**: application/json 88 - **Accept**: application/json 89 90 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 91