Skip to main content

Questions tagged [xmlhttprequest]

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. The XHR API is a legacy API. It has been superseded by the Fetch API.

0 votes
0 answers
17 views

XMLHttpRequest error when trying to run google map project on web

Access to XMLHttpRequest at 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.0427136,13.7101312&radius=10000&key=A' from origin 'http://localhost:64496' has been ...
Birdy's user avatar
  • 1
0 votes
1 answer
28 views

How to fix Form Data via XHR returns 400 Bad Request

This is my code, quite simple. just a POST request to my api endpoint with FormData. but for some unknown reason the api says the data is a bad request. i tested my api via curl and it works fine. ...
X3R0's user avatar
  • 6,134
0 votes
1 answer
36 views

XmlHttpRequest file (image) <=> raw data reformatting?

I have downloaded some basic image somewhere from google: this picture looks like: then I use this httprequest to read and save raw data of the image: var xhr = new XMLHttpRequest; xhr.open(&...
Jiri Zaloudek's user avatar
1 vote
1 answer
29 views

Use XHR in Webworker without CORS headers or preflight answer from server

I am working on a page that will be server by a small embedded webserver that I have no control of. On the page, some data transfer (XHR) should be done inside a web worker. The server will not send ...
Stefan Hegny's user avatar
  • 2,159
0 votes
1 answer
41 views

How can background.js send an XHR to a server in the context of a Chrome extension?

I want to build an extension that requires sending a message to a node.js server and receiving a response. It should do this automatically, which is why I can't implement this in popup.js. This is my ...
user25899957's user avatar
0 votes
1 answer
50 views

How to extract dynamically generated links from a website using Python?

I am writing a code where I need to get all the links/URLs from a specific website but, It seems like the links are dynamically generated and might be populated using JavaScript or some other dynamic ...
Liam Mason's user avatar
0 votes
0 answers
22 views

Fetch returning XHR 500 for expressJS server

I have an ExpressJS server setup accepting GET and POST requests to the same URL. The POST is sent by a form, and sends data to a server, however submitting the form to send data requires a page ...
deeptanshu's user avatar
0 votes
0 answers
32 views

Why does XHR Request randomly get ERR_SSL_PROTOCOL_ERROR?

We have a really old web application which uses JSP, plain JS and Java 8 running on JBOSS servers and ERR_SSL_PROTOCOL_ERROR randomly occurs whenever application tries to get a resource or make an XHR ...
elif erdil's user avatar
0 votes
0 answers
57 views

CORS error when importing micro frontend on different domain

Some of my micro frontends are hosted on a different domain that requires authentication so when my SPA tries to access those they get a redirect which then results in a CORS error. My browser is ...
vato's user avatar
  • 409
0 votes
0 answers
59 views

How to send a HTTP request including additional Information with VBA to this public website and scrape data from it to Excel?

I need a calculated value from this public Website: land guidelines First I enter a complete address in the search field, e.g. "Swinemünder Straße 12, 22147 Hamburg", after the address has ...
Jasco's user avatar
  • 227
0 votes
0 answers
32 views

Google login doesn't redirect

I having trouble with my google login using firebase auth. What i want to do is if the user email is already exist in the database it will redirect the user to its respective page and then if not, the ...
Cardenas Juniel P's user avatar
0 votes
0 answers
19 views

JS-HttpRequest + PHP: Form don't send file nor data [duplicate]

I'm trying to send a file and some text-based data using XMLHttpRequest. When I use xhttp.setRequestHeader("Content-Type", "multipart/form-data"); PHP gets nothing from the form ...
Libania Paes's user avatar
0 votes
0 answers
52 views

Error with MAUI App trying to comunicate with localhost via port forwarding

I developed an app with MAUI Hybrid Blazor that connects to a server hosted on my PC through Google port forwarding. I have a strange problem though: as soon as I start the app, the request it sends ...
Alessio's user avatar
0 votes
0 answers
19 views

Filepond & Nextjs: How revalidate or even cache the XMLHttpRequest in Nextjs?

As you might know, Nextjs automatically caches the response of a fetch method and its 'force-cache' by default, But I'm using Filepond with react adaptor, and I can't cache, tag, or revalidate ...
jexroid's user avatar
  • 153
0 votes
1 answer
204 views

Chrome Browser: XHR Request Error net::Err_Failed 200 on Subsequent Requests

I've discovered a download issue connected to free disk space limited to the Chrome or Chromium browser. The app is a media player which runs on a dedicated PC, regardless of the low disk space there ...
AdrianHolmes's user avatar

15 30 50 per page
1
2 3 4 5
801