How to receive and print below error in C#.(See below screeshot)
This error is coming while posting the data to customer WEB API.
Code block used for Posting data to customer API.
var response = client.PostAsync(URL, content).Result;
Console.WriteLine("Status Code:" + (int)response.StatusCode); //output = 404
Console.WriteLine("Reason:" + response.ReasonPhrase); //output = Not Found
Please suggest?
