diff --git a/src/main/resources/csharp/apiInvoker.mustache b/src/main/resources/csharp/apiInvoker.mustache index c522d1545f6..8f1f0f43081 100644 --- a/src/main/resources/csharp/apiInvoker.mustache +++ b/src/main/resources/csharp/apiInvoker.mustache @@ -61,6 +61,7 @@ var client = WebRequest.Create(host + path + querystring); client.ContentType = "application/json"; + client.Method = method; foreach (var headerParamsItem in headerParams) {