title: POST method, error 400l bad request. asp.net
body: <p>I'm trying to send data from my iPhone to a windows server 2008.
  I found a tutorial, but I'm unfamiliar with asp.net.</p>
  
  <p>So this is my code (in asp.net)</p>
  
  <pre><code>   [OperationContract]
      [WebInvoke(Method = "POST",
          UriTemplate = "InsertEmployee?names={name}&amp;lastnames={lastname}",
          BodyStyle = WebMessageBodyStyle.Wrapped,
          RequestFormat = WebMessageFormat.Json,
          ResponseFormat = WebMessageFormat.Json)]
          //ResponseFormat = WebMessageFormat.Xml)]
      //method
      bool InsertEmployeeMethod(string name, string lastname);
      //
  </code></pre>
  
  <p>and, I tried testing the installation with "postman", software that let me see the errors and checks in the Method. I sent a test of the code via postman.</p>
  
  <p>And in Google, like this: </p>
  
  <pre><code>http://192.168.1.209/JsonWcfService/GetEmployees.svc/InsertEmployee?name=ildaguin&amp;lastname=pregunton
  </code></pre>
  
  <p>That returns an Error 400 (Bad request).<br>
  How do I resolve this?</p>