wasSharp
/Web/wasHTTPClient.cs |
@@ -414,9 +414,10 @@ |
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) |
@@ -438,7 +439,8 @@ |
{ |
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) |