XHR mimics a xhr request by sending a request to the given URL using the method returning the response, body, content type and any error. XHR calls will use and update cookies but not dom, history or navigation.
This can be useful when wanting to reproduce an ajax request to the server, without reloading the current page or adding to the history.
XHR mimics a xhr request by sending a request to the given URL using the method returning the response, body, content type and any error. XHR calls will use and update cookies but not dom, history or navigation.
This can be useful when wanting to reproduce an ajax request to the server, without reloading the current page or adding to the history.