var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post, "https://id.nes.com.tr/v1/pat"); request.Headers.Add("Authorization", "Bearer {TOKEN}"); var content = new StringContent("JSON_BODY", null, "application/json"); request.Content = content; var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync());