title: How to pass email as a parameter at the end of URL in ASP.NET MVC web API?
body: <p>How to pass email as a parameter at the end of URL in ASP.NET MVC web API? </p>
  
  <p>like below:</p>
  
  <pre><code>test.com/api/sales/getcustomerorders/test@test.com
  </code></pre>
  
  <p>I want to pass the email address as a parameter to the getcustomerorders action. </p>
  
  <p>we can pass using query string. But I want to format the url like above.</p>
  
  <p>Thanks.</p>