public static TReturnType Post <TReturnType>(string url, object bodyData, string title, string operation) { var request = ServerControllerBase.PostRequest(url, bodyData); if (!ProcessRequest(request, title, operation)) { return(default(TReturnType)); } return(JsonConvert.DeserializeObject <TReturnType>(request.downloadHandler.text)); }
public static bool Post(string url, object bodyData, string title, string operation) { var request = ServerControllerBase.PostRequest(url, bodyData); return(ProcessRequest(request, title, operation)); }