From d727f902aa471052ffdb4b1ad98283a71ffd3d60 Mon Sep 17 00:00:00 2001 From: Chris Midkiff Date: Mon, 22 Jun 2020 11:42:44 -0400 Subject: [PATCH] update upload code --- Assets/Scripts/DataSet.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 Assets/Scripts/DataSet.cs diff --git a/Assets/Scripts/DataSet.cs b/Assets/Scripts/DataSet.cs old mode 100644 new mode 100755 index 1d70d11..4d29dd0 --- a/Assets/Scripts/DataSet.cs +++ b/Assets/Scripts/DataSet.cs @@ -31,14 +31,14 @@ namespace Assets.Scripts { streamWriter.Write(stringBuilder.ToString()); } - UploadToAstralQueen(string.Format("{0}-{1}-{2}", platform, participant, trial), stringBuilder.ToString()); + UploadToMops(string.Format("{0}-{1}-{2}", platform, participant, trial), stringBuilder.ToString()); } - private void UploadToAstralQueen(string name, string data) + private void UploadToMops(string name, string data) { using (WebClient client = new WebClient()) { - string endpoint = "http://mops.bw.edu/hci/upload.php"; + string endpoint = "https://mops.bw.edu/hci/upload.php"; client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded"; string ud = "userStudyId=" + name + "&userStudyData=" + data;