title: window.location.href with POST instead of GET (or equivalent effect)
body: <p>I'd like to reload a web page after supplying new parameters to it via POST in the same way as would be possible with an HTML <code>form</code> but from within JavaScript (inside an HTML page, but outside the context of a <code>form</code>). </p>
  
  <p>Is this possible as HTTP POST instead of GET request (kind of <code>XMLHttpRequest</code> plus replace the currently shown document)? How could I replace the document, if <code>XMLHttpRequest</code> must be employed (instead of <code>window.location.href</code>)? The second question has been partially answered <a href="https://stackoverflow.com/questions/15325358/window-location-href-using-get-when-i-need-post">here</a>.</p>