Skip to content

Commit 5b5016c

Browse files
committed
GetHttpGET and GetHttpPOST methods fixed
1 parent 0db69bb commit 5b5016c

File tree

7 files changed

+10
-2
lines changed

7 files changed

+10
-2
lines changed

rls/API.Library.dll

0 Bytes
Binary file not shown.

rls/API.Library.pdb

0 Bytes
Binary file not shown.

src/API.Library/Entities/API.Common.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ public class Common
8989
/// <summary>
9090
/// HTTP GET Request
9191
/// </summary>
92-
internal NameValueCollection httpGET = GetHttpGET();
92+
internal NameValueCollection httpGET = null;
9393

9494
/// <summary>
9595
/// HTTP POST Request
9696
/// </summary>
97-
internal string httpPOST = GetHttpPOST();
97+
internal string httpPOST = null;
9898

9999
/// <summary>
100100
/// Authenticate the user in the context

src/API.Library/Entities/API.JSONRPC.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ public void ProcessRequest(HttpContext context)
4747
{
4848
Log.Instance.Info("API Interface Opened");
4949

50+
// Set HTTP Requests
51+
httpGET = GetHttpGET();
52+
httpPOST = GetHttpPOST();
53+
5054
// Set Mime-Type for the Content Type and override the Charset
5155
context.Response.ContentType = JSONRPC_MimeType;
5256
context.Response.Charset = null;

src/API.Library/Entities/API.RESTful.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public void ProcessRequest(HttpContext context)
3333
{
3434
Log.Instance.Info("API Interface Opened");
3535

36+
// Set HTTP Requests
37+
httpGET = GetHttpGET();
38+
httpPOST = GetHttpPOST();
39+
3640
// Set Mime-Type for the Content Type and override the Charset
3741
context.Response.Charset = null;
3842
// Set CacheControl to no-cache
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)