Skip to main content

Questions tagged [xmlhttprequest]

Filter by
Sorted by
Tagged with
-2 votes
2 answers
129 views

I have to send a POST request with some data to a RESTful API. Right now I have a C program that creates a socket, connects with the host and successfully sends the POST request. After some C magic, ...
m4l490n's user avatar
  • 117
0 votes
2 answers
127 views

I'm making an application where the front-end can display resources both as themselves or within a modal. Of course, when the server gets a request for a resource in HTML, it's going to include a ...
Jonathan Allard's user avatar
1 vote
2 answers
4k views

These days I have seen couple of sites (including Youtube) that stream videos through Ajax calls (XHR) in few MBs or even less than MB. For an example of what I said see the highlighted lines in the ...
Khadim Ali's user avatar
2 votes
1 answer
3k views

I am trying to identify the parts of an architecture. The server (Python) acts as a web-service, delivering files and data. The client (JS) requests the data which it needs by sending xmlhttprequests ...
null's user avatar
  • 3,767
1 vote
1 answer
865 views

I'm trying to make a 'frontend web scraper'. I had the idea of setting up a node app that had a dynamic route that used Request (the NPM package) to scrape pages and displayed them as it's own. Then ...
Isaac Wasserman's user avatar
0 votes
1 answer
2k views

I would like to send a CSV file via POST in a XMLHttpRequest, but I am unsure of two things. First is there anything to distinguish a CSV file from a string split up by comma's? And what sort of ...
EasilyBaffled's user avatar
0 votes
1 answer
105 views

I am learning how to work with XMLHttpRequests. I know that request.setRequestHeader() is an important factor. I just don't understand why. It took me a while but I have at least found a list of ...
EasilyBaffled's user avatar
0 votes
1 answer
2k views

I inherited some old javascript code for a website tracker that submits data to the server using a script url: var src = "http://domain.zzz/log/method?value1=x&value2=x" var e = document....
KingOfHypocrites's user avatar
32 votes
5 answers
12k views

I'm diving deeper into developing RESTful APIs and have so far worked with a few different frameworks to achieve this. Of course I've run into the same-origin policy, and now I'm wondering how web ...
rgb's user avatar
  • 909
0 votes
1 answer
82 views

Our SPA (plain HTML and Javascript) makes use of huge volume of javascript and other resources that are downloaded via XHR. Given the sheer number of components and browser simultaneous request limits,...
icelava's user avatar
  • 171
0 votes
1 answer
5k views

Is there a difference between HttpRequest and xmlHttpRequest in terms of security? Is one more secure than the other? Is it more secure to send important data such as passwords via HttpRequest than ...
msoa's user avatar
  • 149
33 votes
2 answers
4k views

I've been working with the XMLHttpRequest object in JavaScript recently, and I couldn't help but notice that the casing of this name makes no sense. Why is 'XML' all in caps while 'Http' is not? ...
Alec's user avatar
  • 441
10 votes
1 answer
1k views

I'm trying to understand the origins of AJAX, and think MSXML and XMLHTTPRequest were the objects that started it all. Which came first, and/or became the defacto way to create dynamic pages?
makerofthings7's user avatar
4 votes
2 answers
4k views

As you may know, XMLHTTPRequest can be used synchronously or asynchronously, but synchronized requests have always been considered bad practice, and I've always agreed with that. Not only is the ...
shabunc's user avatar
  • 2,464