title: web api get is working but post and delete not working after published in iis
body: <p>I've been struggling for 4 hours and I still didn't get any solution. I already apply some modification but still my post and delete api returns the error 500.</p>
  
  <p>GET js</p>
  
  <pre><code>$.getJSON(API_URL + 'api/claim/search', params).done(function (data) {
      myJsonObject = data;
      d.resolve(data);
  });
  return d.promise();
  </code></pre>
  
  <p>API</p>
  
  <pre><code>[Route("api/claim/search")]
  [System.Web.Http.AcceptVerbs("GET")]
  [System.Web.Http.HttpGet]
  public IEnumerable&lt;ClaimInfo&gt; Get([FromUri] ClaimSearch obj_ClaimSearch)
  {
      //my code
  }
  </code></pre>
  
  <p>This get method is working 100%</p>
  
  <p>POST js</p>
  
  <pre><code>$.ajax({
      type: "POST",
      data: JSON.stringify(p[0]),
      url: API_URL + "api/claim/" + (editorPage === "resubmission" ? "saveresubmissionpatient": "savepatient"),
      contentType: "application/json",
      success: function (data) {
  
      },
      error: function () {
  
      }
  });
  </code></pre>
  
  <p>API</p>
  
  <pre><code>[Route("api/claim/savepatient")]
  [System.Web.Http.AcceptVerbs("POST")]
  [System.Web.Http.HttpPost]
  public Guid SavePatient([FromBody]ClaimInfo claimInfo)
  {
      //my code
  }
  </code></pre>
  
  <p>And here is my WebApi.Config.cs</p>
  
  <pre><code>public static void Register(HttpConfiguration config)
  {
      config.MapHttpAttributeRoutes();
  
      config.Routes.MapHttpRoute(
          name: "DefaultApi",
          routeTemplate: "api/{controller}/{id}",
          defaults: new { id = RouteParameter.Optional }
      );
  
  }
  </code></pre>
  
  <p>I already apply this webserver thing in my config</p>
  
  <pre><code>&lt;modules&gt;
    &lt;remove name="WebDAVModule" /&gt;
    &lt;add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v16.2, Version=16.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule" /&gt;
  &lt;/modules&gt;
  &lt;handlers&gt;
    &lt;remove name="WebDAV" /&gt;
    &lt;remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" /&gt;
    &lt;remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" /&gt;
    &lt;remove name="ExtensionlessUrlHandler-Integrated-4.0" /&gt;
    &lt;add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /&gt;
    &lt;add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /&gt;
    &lt;add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /&gt;
  
  &lt;/handlers&gt;
  </code></pre>