title: Error while using post in Postman
body: <p>I am trying to pass raw data in JSON format using Post method and store it in class which is having properties but is showing error. <br>
  My code in Value Controller-</p>
  
  <pre><code>    [HttpPost]
      public void AddEmployee()
      {
          HttpWebRequest myHttpWebRequest`= (HttpWebRequest)WebRequest.Create("http://localhost:50278/api/values/AddEmployee");
  
          HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
  
      ////////Above line is giving error///////
  
      Stream receiveStream = myHttpWebResponse.GetResponseStream();
      DataContractJsonSerializer serializer =new DataContractJsonSerializer(typeof(Models.Employee));
      Models.Employee user = (Models.Employee)serializer.ReadObject(receiveStream);
  
  
      }
  </code></pre>
  
  <p>Class Where I want to store my data in</p>
  
  <pre><code>Models.Employee
  {
       public string FirstName { get; set; }
       public string MiddleName { get; set; }
       public string LastName { get; set; }
       public Nullable&lt;System.DateTime&gt; DOB { get; set; }
       public Nullable&lt;System.DateTime&gt; DOJ { get; set; }
       public Nullable&lt;short&gt; IsActivce { get; set; }
  }
  </code></pre>
  
  <p>Command which i passed in Postman Post <a href="http://localhost:50278/api/values/AddEmployee" rel="nofollow">http://localhost:50278/api/values/AddEmployee</a></p>
  
  <p>with data </p>
  
  <pre><code>[
  {   
  "FirstName" : "ABDCD",
  "MiddleName" :"sajsoa",
  "LastName"  : "KSJFHF",
  "DOB":1994-01-12 00:00:00.0001994-01-12 00:00:00.000,
  "DOJ":1994-01-12 00:00:00.0001994-01-12 00:00:00.000,
  "Isactive" : 1
  }
  ]
  </code></pre>
  
  <p>I received the below error:<br>
   <code>System.Net.WebException</code> occurred in System.dll but was not handled in user code. <br>
  Additional information: </p>
  
  <pre><code>The remote server returned an error: (405) Method Not Allowed. 
  </code></pre>
  
  <p>Can you please tell why is it showing error and whether the date format is correct?</p>