Xamarin RestSharp POST method throwing request timeout error and name resolution error

There are several things you can try:

  1. Ensure all packages are up-to-date
  2. Use Fiddler to view network traffic and check the request going out and the response you are receiving. A tutorial can be found here
  3. Check that your request URL is complete (including the trailing '/' character for example), sometimes forgetting this causes a redirect and HttpClient sometimes has issues with that
  4. Replace RestSharp client with basic System.Net.HttpClient. This solution gives you less high-level approach, but you can see if the problem persists