title: How to set UriTemplate a Web Service?
body: <p>How to set The UriTepmlate Attr like that:</p>
  
  <p>/FunctionName?{json_data}</p>
  
  <p>because the person who is working With this web service whats to call that way</p>
  
  <p>for example:
  <a href="http://localhost/xxx/service/Func" rel="nofollow">http://localhost/xxx/service/Func</a>?{"x":"aaa","y":"bbb"}</p>
  
  <p>I tried that</p>
  
  <pre><code>[OperationContract]
      [WebGet(UriTemplate = "/Func?{request}",
          BodyStyle = WebMessageBodyStyle.Bare,
          ResponseFormat = WebMessageFormat.Json)]
      Result Func(string request);
  </code></pre>
  
  <p>than I get that err:</p>
  
  <p>The UriTemplate '/Func?{request}' is not valid; each portion of the query string must be of the form 'name' or of the form 'name=value', where name is a simple literal. See the documentation for UriTemplate for more details.
  Parameter name: template</p>
  
  <p>when I set that</p>
  
  <pre><code> [OperationContract]
      [WebGet(UriTemplate = "/Func?request={request}",
          BodyStyle = WebMessageBodyStyle.Bare,
          ResponseFormat = WebMessageFormat.Json)]
      Result Func(string request);
  </code></pre>
  
  <p>it is working fine but this is not what they want.</p>