Skip to content

Commit

Permalink
fixed problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lavedon committed Apr 21, 2021
1 parent 8a0d6a4 commit 18ff3da
Show file tree
Hide file tree
Showing 12 changed files with 241 additions and 3 deletions.
5 changes: 2 additions & 3 deletions API.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ public static void APICalls(CurrentQuery query)
Action<object> callSensesAPI = (Object obj) =>
{
Trace.WriteLine("Called callSensesAPI");
Uri requestURL = new Uri(baseURL + query.WordID + "/senses/");
Uri requestURL = new Uri(baseURL + @"word/" + query.WordID + @"/senses/");
Trace.WriteLine("Making the request");
try {
client.Timeout = TimeSpan.FromMinutes(10);

// HttpResponseMessage response = new HttpResponseMessage();
var response = client.GetStreamAsync(requestURL).Result;
Console.WriteLine(response);
}
Expand Down Expand Up @@ -457,7 +456,7 @@ public static void APICalls(CurrentQuery query)
Console.WriteLine("Query mode not correctly set.");
}

client.Dispose();
// client.Dispose();
}
}
}
Expand Down
Binary file modified bin/Debug/net5.0/OxfordV2.dll
Binary file not shown.
Binary file modified bin/Debug/net5.0/OxfordV2.pdb
Binary file not shown.
Empty file.
Empty file.
Empty file.
Empty file.
239 changes: 239 additions & 0 deletions logs/Log_OxfordApplication_20210421-1922.txt

Large diffs are not rendered by default.

Binary file modified obj/Debug/net5.0/OxfordV2.assets.cache
Binary file not shown.
Binary file modified obj/Debug/net5.0/OxfordV2.dll
Binary file not shown.
Binary file modified obj/Debug/net5.0/OxfordV2.pdb
Binary file not shown.
Binary file added test-sense.json
Binary file not shown.

0 comments on commit 18ff3da

Please sign in to comment.