Can't use application/json in the request headers but it seems it doesn't matter based on testing

This commit is contained in:
barelyprofessional
2026-03-05 00:54:16 -06:00
parent 11c09ea65c
commit 469e24dde1

View File

@@ -185,7 +185,6 @@ public class Shuffle : IDisposable
}
using var client = new HttpClient(handler);
client.DefaultRequestHeaders.Add("content-type", "application/json");
var postBody = JsonContent.Create(jsonBody);
var response = await client.PostAsync("https://shuffle.com/main-api/graphql/api/graphql", postBody, _cancellationToken);
var responseContent = await response.Content.ReadFromJsonAsync<JsonElement>(cancellationToken: _cancellationToken);