Questions tagged as 'xmlhttprequest'

1
answer

Is it possible to monitor all Responses and Headers of the page to use as a trigger for a function?

I have a script that needs to be executed only after the return of a page request, since the request returns HTML content, and the function I want to execute immediately after it implements this received HTML. The problem is that I can not play...
asked by 25.10.2017 / 22:42
1
answer

How do I create a javascript function to filter audio rss (podcast) for a project?

I have a question about how to create a function where I can filter audio (.mp3), with a maximum of 5 audios in the feed. And audio title from the RSS feed of the CBN podcast: link Well, in this case I managed to put the href, but I have...
asked by 01.09.2015 / 21:35
0
answers

deprecation XMLHttpRequest [duplicate]

I'd like to know how to sort my code XMLHttpRequest , it's giving me this [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. message when I try to g...
asked by 29.12.2018 / 16:33
0
answers

Session with absolute path

The script below only works if I do not put the absolute path, only the relative path. Can you make it work with absolute path? Absolute: xmlhttp.open("GET", "http://servidor.com.br/codec/azul/getcarteira_virutal.php?"+id , true); Rela...
asked by 13.06.2018 / 21:02
1
answer

Run Ajax by passing credential information to the Header

I need to make an ajax call by passing in the Header the following information: Content-Type: application / json Cookie: authToken = valueXPTO (This information above I got from Postman) IneedtodothesamethingexceptIsawAjax,andnowayamIgettingit....
asked by 17.11.2017 / 01:20
0
answers

Angular 2 XMLHttpRequest can not load

I'm trying to do a POST request to an API and am getting this error:    XMLHttpRequest can not load http: // *. Response for preflight has invalid HTTP status code 400 However, when I make a GET request it works. My get method: getPe...
asked by 28.08.2017 / 19:24
0
answers

simplexml_load_file does not work with large XML file - Request Time Out

I'm using simplexml_load_file to parse an XML document, but the file has more than 100 mb and instead of loading only part of the nodes, what's happening is that the whole document is being loaded from a before the nodes are extracted, an...
asked by 17.06.2017 / 00:13
1
answer

How to detect if the browser accepts xmlhttprequest events?

It's the following, darned, to make my object compatible with older browsers (if not scold me) I've created a new problem. It is difficult to divert the path according to the browser version because it was not so standardized, browsers accepted...
asked by 18.06.2016 / 22:02
0
answers

How to read xls in javascript

Hello, I am studying some "communication" between php and javascript, I am a beginner and I am a few days with a problem that I can not solve, in php I am generating an xls with DB data function buscaLocalizacoes($conexao){ $resultado = my...
asked by 05.07.2016 / 20:20
0
answers

How do I get and modify an AJAX request?

I'm creating an add-on for Chrome , in the add-on I modify various parts of a site. But now I need to modify a ajax request, the site makes the request before the extension script goes live. I've done something similar but in localhost ,...
asked by 30.06.2015 / 08:38