Last minute stuff
This commit is contained in:
@@ -42,8 +42,8 @@ namespace Assets.Scripts
|
||||
|
||||
client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
|
||||
string ud = "userStudyId=" + name + "&userStudyData=" + data;
|
||||
string response = client.UploadString(endpoint, ud);
|
||||
UnityEngine.Debug.Log("Received Response: " + response);
|
||||
client.UploadStringAsync(new Uri(endpoint), ud);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,8 +70,7 @@ namespace Assets.Scripts
|
||||
using (var client = new WebClient())
|
||||
{
|
||||
client.Headers[HttpRequestHeader.ContentType] = "application/json";
|
||||
var resp = client.UploadString("http://home.superpichu.org:9009", body.ToString());
|
||||
UnityEngine.Debug.Log("Recv: " + resp);
|
||||
client.UploadStringAsync(new Uri("http://home.superpichu.org:9009"), body.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,7 +85,6 @@ public class ExperimentController : MonoBehaviour {
|
||||
}
|
||||
else if(trialIndex < participant.trials.Length)
|
||||
{
|
||||
// NEXT TRIAL SHIT
|
||||
trialIndex++;
|
||||
trialDotIndex = 0;
|
||||
dataSet.SaveDataSet();
|
||||
|
||||
Reference in New Issue
Block a user