title: How to send a GUID to a web api webservice
body: <p>I am extending <code>ApiController</code> for a webservice.</p>
  
  <p>The service takes a GUID as its only parameter.  This is the url that I type in</p>
  
  <pre><code>/api/texts/2ADEA345-7F7A-4313-87AE-F05E8B2DE678
  </code></pre>
  
  <p>However, the Guid never reaches the <code>Get</code> method.  </p>
  
  <p><strong>If I set it to object</strong> </p>
  
  <pre><code>public Object Get(Object userId)
  </code></pre>
  
  <p>the method fires, but userid is null.</p>
  
  <p><strong>If i set it to guid</strong></p>
  
  <pre><code>public Object Get(Guid? userId)
  </code></pre>
  
  <p>I get the error</p>
  
  <blockquote>
    <p>No action was found on the controller 'texts' that matches the request.</p>
  </blockquote>
  
  <p>Does anyone have a sample that could help me?</p>