Linked Questions

26 votes
1 answer
146k views

I am running a simple API request to return data to a simple API search I've written. I say it's simple API call because there is no authentication needed and I can do it in python very simply. ...
Micah Pearce's user avatar
  • 1,975
8 votes
4 answers
9k views

I have red tons of example how to configure CORS in Java Spring, but it is still not working in project with websockets request. It works with mcv api paths, but my websockets path's returns error: ...
5 votes
3 answers
27k views

I am trying to send a POST request to an API with multipart data. I test the API in postman and everything works fine in Postman. But when I call the API in react, it gives me CORS error. I cross-...
2 votes
2 answers
9k views

I have been running news api on my website and testing in on my computer by dragging the file into the web browser, the url would show up like that file:///C:. Then I would upload any changes to my ...
Okwa's user avatar
  • 77
2 votes
2 answers
12k views

I'm trying to fetch data from a different origin to another server using Fetch API and I precise is from http to https I can read the data from my browser but I don't know how to fetch them. I ...
4 votes
1 answer
7k views

I am getting the following error message: Failed to load resource: the server responded with a status of 426 (Upgrade Required)" error on using JQuery to GET results from https://newsapi.org/v2/...
geek101's user avatar
  • 194
2 votes
1 answer
6k views

Failed to load URL: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is ...
Krishna's user avatar
  • 1,229
1 vote
2 answers
8k views

im trying to make a simple request to an API fetch('someurl').then((data) => console.log(data)) but im getting the classic No 'Access-Control-Allow-Origin' header is present on the requested ...
5 votes
0 answers
7k views

I had a react app on Netlify for 6 months, with no problems. After the change from .com to .app, my site started getting CORS error messages: Access to XMLHttpRequest at 'https://newsapi.org/v2/...
cyberAnn's user avatar
  • 471
0 votes
2 answers
11k views

I'm leaning Angular, trying to use HTTP get to a file on my PC. I want to simulate the server scenario so tried serving the file with the following, (live-server, browser-sync & xampp) one at a ...
-1 votes
1 answer
7k views

Done a lot of research on the topic of cross-origin-request-sharing and tried a lot of fixes and nothing seems to have worked for me. currently I've been avoiding the error by passing my API request ...
1 vote
2 answers
3k views

I am trying to access an API with my react application. Specifically, I am trying to access the IGDB API. Since I am getting CORS errors, I am trying to set up a proxy as mentioned on their website: ...
2 votes
1 answer
5k views

I am attempting to read a csv form the source https://stats.oecd.org/Index.aspx?DataSetCode=WILD_LIFE. Let x be the url above. <script type="text/javascript"> var data_threatened = d3....
Xenon's user avatar
  • 311
0 votes
0 answers
6k views

I have a google chrome extension that logs in from SUGAR-CRM using XMLHttpRequest and after that, I send another GET request for fetching users data with the OAuth-Token token in the header but I am ...
0 votes
1 answer
6k views

The following python request is grabbing data from a paid API using private API key, and the fetch is working just fine: import requests api_key = 'our_private_api_key' headers = { 'x-api-key': ...
Canovice's user avatar
  • 10.7k

15 30 50 per page
1
2 3 4 5
...
24