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.

Best method: Access-Control-Allow-Origin Multiple Origin Domains

This question has been asked on here before and given an array of good answers, mainly: Access-Control-Allow-Origin Multiple Origin Domains? …

http xmlhttprequest cross-domain cors
Retrieving binary file content using Javascript, base64 encode it and reverse-decode it using Python

I'm trying to download a binary file using XMLHttpRequest (using a recent Webkit) and base64-encode its contents using this …

javascript python encoding xmlhttprequest base64
Force ajax call to clear cache

I have a cms in which I can change positions of objects. After each position change ajax call updates the …

jquery ajax caching xmlhttprequest clear-cache
Angular 2 Failed to execute open on XMLHttpRequest: Invalid URL

I'm trying to call a service, it's works in DHC, but when I try to call in my angular 2 project, …

angular typescript xmlhttprequest jwt
Fetch API vs XMLHttpRequest

I know that Fetch API uses Promises and both of them allow you to do AJAX requests to a server. …

javascript ajax xmlhttprequest fetch-api
How to create Document objects with JavaScript

Basically that's the question, how is one supposed to construct a Document object from a string of HTML dynamically in …

javascript dom xmlhttprequest document specifications
Sending a 'application/soap+xml' SOAP request using Classic ASP

Any help with this would be appreciated; I've been at it for a few days now. Below is the code …

soap asp-classic msxml domdocument xmlhttprequest
fetch - Missing boundary in multipart/form-data POST

thanks for stopping by. I want to send a new FormData() as the body of a POST request using the …

javascript xmlhttprequest fetch form-data fetch-api
How to set iframe content of a react component

I am trying to set the content of an iframe in a React component but I am not able to …

javascript iframe reactjs xmlhttprequest
Find out how long an Ajax request took to complete

What is a good way to find out how long a particular $.ajax() request took? I would like to get …

javascript jquery xmlhttprequest