Ramco Ramco

Ramco Ramco

  • 444
  • 3.4k
  • 533.6k

Error - {"message": "Network error communicating with endpoint"}

Dec 24 2022 11:13 AM

Hi

  I am getting above error on below code

var client = new RestClient("api.nimbuspost.com/v1/courier/serviceability");
                client.Timeout = -1;
                var request = new RestRequest(Method.GET);
                request.AddHeader("Content-Type", "application/json");
                IRestResponse response = client.Execute(request);
                Console.WriteLine(response.Content);

Thanks


Answers (1)