Skip to content

Commit 4b468e0

Browse files
author
gdiaz
committed
Fix Get Extended issue.
1 parent 4e57af9 commit 4b468e0

File tree

19 files changed

+7
-8
lines changed

19 files changed

+7
-8
lines changed

.vs/SQL-APIConsumer/v15/.suo

-1 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

.vs/SQL-APIConsumer/v16/.suo

-512 Bytes
Binary file not shown.
4 KB
Binary file not shown.
-32 KB
Binary file not shown.
-306 KB
Binary file not shown.

API_Consumer/Consumers/APIConsumer.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,13 +874,12 @@ public static string GETMethod_Extended(ref ExtendedResult extResult, string url
874874
streamWriter.Flush();
875875
}
876876
}
877-
else
877+
else if (!String.IsNullOrEmpty(JsonBody)
878+
&& !request.Method.ToUpper().Contains("GET"))
878879
{
879880
using (var streamWriter = new StreamWriter(request.GetRequestStream()))
880881
{
881-
if (!String.IsNullOrEmpty(JsonBody))
882-
streamWriter.Write(JsonBody);
883-
882+
streamWriter.Write(JsonBody);
884883
streamWriter.Flush();
885884
}
886885
}

API_Consumer/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
// Build Number
2020
// Revision
2121
//
22-
[assembly: AssemblyVersion("2.3.4.0")]
23-
[assembly: AssemblyFileVersion("2.3.4.0")]
22+
[assembly: AssemblyVersion("2.3.5.0")]
23+
[assembly: AssemblyFileVersion("2.3.5.0")]
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)