wasSharp
/Web/wasHTTPClient.cs |
@@ -414,10 +414,9 @@ |
try |
{ |
using (var response = |
await HTTPClient.GetAsync($"{URL}?{KeyValue.Encode(message)}")) |
await HTTPClient.GetAsync(URL + "?" + KeyValue.Encode(message))) |
{ |
return response.IsSuccessStatusCode ? |
await response.Content.ReadAsByteArrayAsync() : null; |
return response.IsSuccessStatusCode ? await response.Content.ReadAsByteArrayAsync() : null; |
} |
} |
catch (Exception) |
@@ -439,8 +438,7 @@ |
{ |
using (var response = await HTTPClient.GetAsync(URL)) |
{ |
return response.IsSuccessStatusCode ? |
await response.Content.ReadAsByteArrayAsync() : null; |
return response.IsSuccessStatusCode ? await response.Content.ReadAsByteArrayAsync() : null; |
} |
} |
catch (Exception) |