title: Why does my browser send two requests in a post ajax call?
body: <p>I have put a link in my web page with the following a tag:</p>
  
  <pre><code>&lt;a href="" onclick="FiltrarxUnidadPolitica(1)"&gt;
     &lt;label class="filter-item-title"&gt;
        Distrito Capital
     &lt;/label&gt;
     &lt;label class="filter-item-quantity"&gt;
        (3)
     &lt;/label&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>And the js function that is called when the link is clicked is as follow:</p>
  
  <pre><code>function FiltrarxUnidadPolitica(iIdUnidadPolitica, bLimpiarPropiedad) {
     $.ajax({
        data: { iIdUnidadPolitica, bLimpiarPropiedad },
        url: "/Home/ListadoInmuebles",
        type: 'POST',
     });
  }
  </code></pre>
  
  <p>The issue that I have is when the link is clicked and the js function is executed the browser makes two requests to the server as you can see in the picture inserted (pending calls), the first one the POST call included in the js function and the second one that is a GET call that I don't know how is initiated.</p>
  
  <p><a href="https://i.stack.imgur.com/1aJ0C.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1aJ0C.jpg" alt="Browser network calls"></a></p>
  
  <p>Does anyone know where is comming from the GET call?</p>
  
  <p>Could anyone give me a clue about where I have to look for?</p>