213123
This commit is contained in:
@ -290,7 +290,7 @@ using Newtonsoft.Json;
|
||||
try
|
||||
{
|
||||
var content = new StringContent(jsonContent, Encoding.UTF8, "application/json");
|
||||
HttpResponseMessage response = await client.PostAsync(WindowsFormsApp.Form1.apiUrl + "/sdk/v1/dotmatrix/pen/add", content);
|
||||
HttpResponseMessage response = await client.PostAsync(WindowsFormsApp.InteractiveClassroomLocalDataScan.apiUrl + "/sdk/v1/dotmatrix/pen/add", content);
|
||||
response.EnsureSuccessStatusCode();
|
||||
ServerResult sr = JsonConvert.DeserializeObject<ServerResult>(await response.Content.ReadAsStringAsync());
|
||||
if (sr.success)
|
||||
|
||||
Reference in New Issue
Block a user