title: How to pass the parameters to WCF Web Service with special characters?
body: <p>I'm using WCF with C#.</p>
  
  <p>I have to pass the parameters to WCF web service with special characters like-
  Email-ram@gmail.com and Password-Test@123</p>
  
  <p>While passing the parameters, got error "404 Not Found" and if passed parameters without special characters it's working.</p>
  
  <p><strong>Working</strong></p>
  
  <pre><code>localhost:35798/RestServiceImpl.svc/LoginRequest/ram/Test123/1223
  </code></pre>
  
  <p><strong>Not Working</strong></p>
  
  <pre><code>localhost:35798/RestServiceImpl.svc/LoginRequest/ram@gmail.com/Test@123/1223
  </code></pre>
  
  <p>Is it possible?</p>
  
  <pre><code>/** Code for the same **/
  [OperationContract]
      [WebInvoke( 
      Method = "POST", 
      RequestFormat = WebMessageFormat.Json, 
      ResponseFormat = WebMessageFormat.Json, 
      BodyStyle = WebMessageBodyStyle.WrappedRequest, 
      UriTemplate = "LoginRequest/{Email}/{Password}/{APPUID}")]
  
  string LoginRequest(string Email, string Password, string APPUID);
  
  public string LoginRequest(string Email, string Password, string APPUID)
  {
      string strResult = "";
      if (Password.Trim() != null &amp;&amp; Password.Trim() != "" &amp;&amp; Email.Trim() != null &amp;&amp; Email.Trim() != "")
          {
              strResult = " Success.";
          }
      else
          {
              strResult = "User name and password are required.";
          }
      return strResult;
  }
  </code></pre>