...
This commit is contained in:
@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Components;
|
||||
using System.Net;
|
||||
using System.Net.Http.Json;
|
||||
using System.Text;
|
||||
using static System.Net.WebRequestMethods;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace HushianWebApp.Service
|
||||
@@ -54,6 +55,7 @@ namespace HushianWebApp.Service
|
||||
}
|
||||
public async Task<Tuple<string, HttpResponseMessage>> PostLogin(string route, object mode)
|
||||
{
|
||||
|
||||
var result = await _Http.PostAsJsonAsync(route, mode);
|
||||
if (result.IsSuccessStatusCode)
|
||||
{
|
||||
|
Reference in New Issue
Block a user