Committing updates.

This commit is contained in:
Преподобный Ален
2022-10-20 18:42:37 +03:00
parent e2200cfa89
commit 16cb3cbafb

View File

@@ -397,9 +397,6 @@ namespace Apostol {
}
}
//DebugMessage("[DoAccount] Server request:\n%s\n", pServerRequest->Content.c_str());
//DebugMessage("[DoAccount] sPayload:\n%s\n", sPayload.c_str());
CJSON Json(jvtObject);
CJSONValue Module(jvtObject);
@@ -425,7 +422,7 @@ namespace Apostol {
pProxyRequest->ContentType = CHTTPRequest::json;
pProxyRequest->Content << Json;
CHTTPRequest::Prepare(pProxyRequest, Method.c_str(), URI.c_str());
CHTTPRequest::Prepare(pProxyRequest, "POST", URI.c_str());
pProxyRequest->AddHeader("Authorization", "Bearer " + m_CurrentServer.Tokens()["access_token"]);
@@ -848,7 +845,7 @@ namespace Apostol {
pProxyRequest->ContentType = CHTTPRequest::json;
pProxyRequest->Content << Json;
CHTTPRequest::Prepare(pProxyRequest, Method.c_str(), URI.c_str());
CHTTPRequest::Prepare(pProxyRequest, "POST", URI.c_str());
pProxyRequest->AddHeader("Authorization", "Bearer " + m_CurrentServer.Tokens()["access_token"]);