Linked Questions

Score of 111
5 answers
117789 views

I am sending POST request like this from browser: fetch(serverEndpoint, { method: 'POST', mode: 'no-cors', // this is to prevent browser from sending 'OPTIONS' method request first ...
Score of 27
1 answer
3000 views

I am writing a basic app in Javascript that uses the new fetch API. Here is a basic example of the relevant portion of the code: function foo(url) { const options = {}; options.credentials = 'omit'...
Score of 8
1 answer
4427 views

I'm having an issue with a web app I'm building. The web app consists of an angular 4 frontend and a dotnet core RESTful api backend. One of the requirements is that requests to the backend need to be ...
Score of 1
1 answer
3611 views

I am making AJAX request with javascript fetch, but it is only making OPTIONS call and not making further call. Weirdest thing is that the response header is just fine and $.ajax is working as ...
Score of 2
2 answers
2272 views

I'm integrating a React project into a Grails/Angular system, and I'm trying to query Grails using the Fetch API from React. With the application running and the Chrome developer tools console open, ...
Score of 0
2 answers
3065 views

I'll start by saying I'm a bit of a newb when it comes to Javascript/React. I am attempting to communicate with my WCF endpoint server but I can’t seem to send any POST messages without getting a ...
Score of 0
1 answer
831 views

It's easy enough to use AJAX from a browser to an external address, (i.e. external to the browser, even if it's localhost) but I have a different question. Is there some kind of object or service ...
Score of 0
2 answers
145 views

I am trying to write a GET http call to a site to get game scores. I figured out the x-hsci-auth-token token and it uses Akamai Edge Authorization Token. I get good responses for all but 1 request. ...
Score of 1
0 answers
82 views

I'm making a fully AI made app, for the sake of experimenting and because I needed something fast. One feature is importing a CSV file into a sqlite database (I'm using Bun) and another is adding ...
Score of -3
3 answers
233 views

When I send a fetch request from the frontend server (React) to the backend server (FastAPI), an error occurs: localhost/:1 Access to fetch at 'http://localhost:8000/predict/' from origin 'http://...