Hi,
I get Error
Id = 5, Status = WaitingForActivation, Method = "{null}", Result = "{Henüz Hesaplanmadı}"
Can't you do it this way?
static void Main(string[] args)
{
APIS();
}
public static async Task APIS()
{
var client = new RestClient("https://jsonplaceholder.typicode.com/todos/1");
var request = new RestRequest("create", Method.Post);
request.AddHeader("Accept", "application/json");
request.RequestFormat = DataFormat.Json;
//request.AddJsonBody(new { CustomerCode = "deneme", password = "deneme" });
var response = client.ExecutePostAsync(request);
}