C#C
C#2y ago
Arsenic

✅ RestSharp

When I use this code, I get an exception, but when I use Postman, there is no problem
c#
RestClient client = new();
RestRequest request = new("https://id.twitch.tv/oauth2/token?client_id=rw5emgbykwoy28o4rd2d6qv7kjt5oj&client_secret=5k8905je0p44y5yksqc94mfx6spdh0&grant_type=client_credentials");
RestResponse response =  await client.PostAsync(request);
Screenshot_2024-05-30_143917.png
Was this page helpful?