update:uplog
This commit is contained in:
@@ -55,10 +55,11 @@ public class CustomServerMgr : ICustomServerMgr
|
||||
{
|
||||
try
|
||||
{
|
||||
//#if UNITY_EDITOR
|
||||
// Debug.Log("CustomServerPost url:" + url);
|
||||
// Debug.Log("CustomServerPost bodyString:" + bodyString);
|
||||
//#endif
|
||||
#if UNITY_EDITOR
|
||||
Debug.Log("client.BaseAddress.AbsoluteUri:" + client.BaseAddress.AbsoluteUri);
|
||||
Debug.Log("CustomServerPost url:" + url);
|
||||
Debug.Log("CustomServerPost bodyString:" + bodyString);
|
||||
#endif
|
||||
var content = new StringContent(bodyString, Encoding.UTF8, "application/json");
|
||||
var response = await client.PostAsync(url, content);
|
||||
string result = await response.Content.ReadAsStringAsync();
|
||||
|
||||
Reference in New Issue
Block a user