Skip to content

Commit

Permalink
Wrong check in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Jul 4, 2024
1 parent 9ceb171 commit 1b7f295
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ private static string GetBaseUrl()
/// Forms a GET request from a HTTP path.
/// </summary>
public UnityWebRequest GetRequest(string path, string contentType) {
Debug.Log($"GET: {path}");
// The default constructor for a UnityWebRequest gives a GET request.
UnityWebRequest request = new UnityWebRequest(path);
request.SetRequestHeader("Content-type", contentType);
Expand Down

0 comments on commit 1b7f295

Please sign in to comment.