title: Successful POST request pending
body: <p>I am building an app using node.js. One of my pages calls a POST request to send data to my database. The POST request is successful and the data makes it to my database, but when I check the status of the request (Chrome dev tools > network), it shows the status of the POST request as 'pending'. Does anyone know why this might be? Here is my POST request:</p>
  
  <pre><code>     $.ajax({
          url: "/addreport/ + data.projectId",
          type: "POST",
          data: data,
          success: function() {
            alert("Thank you for subscribing!");
          },
          error: function() {
            alert("There was an error. Try again please!");
          }
        }); 
  </code></pre>
  
  <p>This is important to me because I need the success callback to work to tell the user the POST request succeeded. </p>
  
  <p>Thanks in advance!</p>