Top "Xmlhttprequest" questions

XMLHttpRequest (XHR) is a JavaScript object that exposes an API for making asynchronous HTTP requests from frontend code running a Web browser — that is, for enabling the programming technique known as AJAX.

Handling cookies in PhoneGap/Cordova

I'm working on a PhoneGap app with server session usage. It needs cookies to handle the session. Additionally, the cookie …

cordova cookies xmlhttprequest
How secure is a HTTP POST?

Is a POST secure enough to send login credentials over? Or is an SSL connection a must?

security post httpwebrequest xmlhttprequest
Refused to set unsafe header "Origin" when using xmlHttpRequest of Google Chrome

Got this error message: Refused to set unsafe header "Origin" Using this code: function getResponse() { document.getElementById("_receivedMsgLabel").innerHTML += "getResponse() …

ajax xmlhttprequest comet cors
Chrome cancels CORS XHR upon HTTP 302 redirect

It looks like according to the CORS Spec, GET and POST requests should transparently follow 302 redirects. But Chrome is canceling …

google-chrome redirect xmlhttprequest cors .net-internals
XMLHttpRequest changes POST to OPTION

i have this code: net.requestXHR = function() { this.xhr = null; if(window.XMLHttpRequest === undefined) { window.XMLHttpRequest = function() { try { // Use the …

javascript xmlhttprequest
Timeout feature in the axios library is not working

I have set axios.defaults.timeout = 1000; I stopped the server that provides me with the APIs. But it takes more …

javascript ajax xmlhttprequest redux axios
Basic Authentication With XMLHTTPRequest

I am attempting to use XMLHTTPRequest to get an update on twitter. var XMLReq = new XMLHttpRequest(); XMLReq.open("GET", "http://…

javascript xmlhttprequest basic-authentication
Access-Control-Allow-Origin: "*" not allowed when credentials flag is true, but there is no Access-Control-Allow-Credentials header

Suddenly, seemingly without changing anything in my web app, I started getting CORS errors when opening it in Chrome. I …

xmlhttprequest cors same-origin-policy
$http doesn't send cookie in Requests

We are working on a RESTful Webservice with AngularJS and Java Servlets. When the user logs in, our backend sends …

html angularjs webkit xmlhttprequest
Prevent redirection of Xmlhttprequest

Is it possible to prevent the browser from following redirects when sending XMLHttpRequest-s (i.e. to get the redirect status …

javascript ajax xmlhttprequest