|
|
@ -53,7 +53,7 @@ public partial class Questions
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
string apiUri = "https://trusting-panini.87-106-126-109.plesk.page/api/delete/question/" + id + "/qUOGkWdoPCgbmuqxIC8xiaX0rV1Pw1LoPafkaoHOgszEyD9P2vcOu493xCDZpAqO";
|
|
|
|
string apiUri = "https://trusting-panini.87-106-126-109.plesk.page/api/delete/question/" + id + "/" + Token.TOKEN_ID;;
|
|
|
|
|
|
|
|
|
|
|
|
using (var httpClient = new HttpClient())
|
|
|
|
using (var httpClient = new HttpClient())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -156,7 +156,7 @@ public partial class Questions
|
|
|
|
formData.Add(new KeyValuePair<string, string>("answerContent4", field[5]));
|
|
|
|
formData.Add(new KeyValuePair<string, string>("answerContent4", field[5]));
|
|
|
|
formData.Add(new KeyValuePair<string, string>("idanswergood", field[6]));
|
|
|
|
formData.Add(new KeyValuePair<string, string>("idanswergood", field[6]));
|
|
|
|
|
|
|
|
|
|
|
|
string apiUri = "https://trusting-panini.87-106-126-109.plesk.page/api/chapters/name/"+field[1] + "/qUOGkWdoPCgbmuqxIC8xiaX0rV1Pw1LoPafkaoHOgszEyD9P2vcOu493xCDZpAqO";
|
|
|
|
string apiUri = "https://trusting-panini.87-106-126-109.plesk.page/api/chapters/name/"+field[1] + "/" + Token.TOKEN_ID;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var response = await Http.GetAsync(apiUri);
|
|
|
|
var response = await Http.GetAsync(apiUri);
|
|
|
|