|
|
@ -27,4 +27,8 @@
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var currentData = await _http.GetFromJsonAsync<List<Question>>(API.API_URL + "questions/" + API.TOKEN)
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var currentData = await _http.GetFromJsonAsync<List<Question>>(API.API_URL + "questions/" + API.TOKEN)
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var currentData = _http.GetFromJsonAsync<List<Player>>(API.API_URL + "players/" + id + "/" + API.TOKEN).Result
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var currentData = _http.GetFromJsonAsync<List<Player>>(API.API_URL + "players/" + id + "/" + API.TOKEN).Result
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var answer = _http.GetFromJsonAsync<Answer>(API.API_URL + "answer/" + id + "/" + API.TOKEN).Result
|
|
|
|
./Blazor/Blazor/Services/DataLocalService.cs: var answer = _http.GetFromJsonAsync<Answer>(API.API_URL + "answer/" + id + "/" + API.TOKEN).Result
|
|
|
|
|
|
|
|
public static class API
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
public static string TOKEN = "qUOGkWdoPCgbmuqxIC8xiaX0rV1Pw1LoPafkaoHOgszEyD9P2vcOu493xCDZpAqO"; //ASK IF YOU WANT THOSE ACCESS
|
|
|
|
|
|
|
|
public static string API_URL = "https://trusting-panini.87-106-126-109.plesk.page/api/"; //ASK IF YOU WANT THOSE ACCESS
|
|
|
|
|
|
|
|
}
|
|
|
|