title: post uri argument with refit
body: <p>I have a class that includes a Uri instance.
  The class is sent as an argument to REST api</p>
  <pre><code>[Serializable]
  public class SomeClass
  {
      public Uri Uri { get; set; }
  }
  
  public interface IRefitExample
  {       
      [Post(&quot;/api/example&quot;)]
      Task&lt;string&gt; Example(SomeClass someClass);
  }
  </code></pre>
  <p>For some reason the Uri object does not pass correctly with refit.<br />
  The Uri absolute url string looks like this on the client side:<br />
  <code>&quot;file:///var/share&quot;</code><br />
  When it reach to the server it looks like this:<br />
  <code>&quot;/var/share&quot;</code></p>
  <p>The refit initialization looks like this:</p>
  <pre><code>var settings = new RefitSettings(new NewtonsoftJsonContentSerializer());
              _apiRefit = RestService.For&lt;ISomeApi&gt;($&quot;http://localhost:5000&quot;, settings);
  </code></pre>
  <p>Thanks.</p>