Skip to main content

All Questions

Tagged with
0 votes
0 answers
36 views

CORS error when redirecting from server to client using spring Boot 2.7.10 with Spring Security enabled

I have two applications: Spring boot application as backend server running on http://localhost:8080/server Javascript client running on http://localhost:9000/app Client on http://localhost:9000/app ...
Bằng Rikimaru's user avatar
0 votes
1 answer
104 views

Why Am I Getting a Response type "cors"?

I'm trying to fetch a JavaScript file from another domain using the following code: const r = await fetch('https://example.com/js/chunk-99EP6AU.js'); console.log({ r }); The response has a type of ...
Jack Sud's user avatar
0 votes
1 answer
41 views

When does browser reject a CORS request?

I have recently learned about Cross-Origin Resource Sharing (CORS) and I'm trying to understand exactly when CORS rejection occurs during a request. My understanding is that CORS is enforced by the ...
Sravan's user avatar
  • 9
0 votes
0 answers
48 views

Can the download attribute of the anchor tag be used, when the download is from a different subdomain?

When users download images from Wikimedia Commons, the browser will usually take the file name from the URL. The exception are SVG files, where the code contains a title (which is often wrong). I ...
Watchduck's user avatar
  • 1,146
0 votes
0 answers
20 views

Accessing set header cookie across multiple domains

I am working with set header cookies. There is a requirement where my auth service is placed on www.website_one.com and my client sits on www.website_two.com. Now, ideally, Set-Cookie will not work ...
Van Wilder's user avatar
0 votes
0 answers
253 views

How to fetch to localhost with Next.js on a different domain? [deployed]

I have a project in Next.js where the frontend needs to make requests to the local network or localhost regardless of whether the project is running locally or on Vercel, as the system I developed ...
Lucas016's user avatar
0 votes
1 answer
79 views

CorsOrigin Error in Java spring boot to access All Origin not Specific Origin

I have a Java spring boot Backend Code in which i have made some API in crud operations and i run my code a sub domain and wanted to use the API in some frontend application but iam getting corsOrigin ...
Yousuf iqbal's user avatar
0 votes
0 answers
54 views

What does it mean to "send credentials" in the context of a JS HTTP request?

I understand that there are several possible values for sending credentials including same-origin, include, and omit. This can be found in documentation that is readily available. I've reviewed the ...
Matt Ruwe's user avatar
  • 3,386
0 votes
0 answers
189 views

CORS issue: Next.js API not accessible with .com domain but functioning with vercel.app domain

I'm encountering a CORS (Cross-Origin Resource Sharing) problem while attempting to access a public Next.js API server from my React frontend. Here's the setup: My Next.js API server is hosted on the ...
Abdullah Rehmani's user avatar
1 vote
0 answers
33 views

Conditionally support credentials based on origin. A good Idea?

So this question is not really related to flask but a question in general about CORS. I happen to be using flask api though. I want to conditionally support_credentials to my endpoint if the origin of ...
Baama's user avatar
  • 2,570
0 votes
0 answers
50 views

Rails app inaccessible to users outside of internal company network after Rails 6.1 to 7 upgrade

Recently upgraded a RoR app from Ruby2.6/Rails6.1 to Ruby3.1.4/Rails7.0.8, hosted onpremise (let's say https://www.company.com/ourapp). Right after the release, almost all of the pages were ...
Squidonis's user avatar
0 votes
2 answers
462 views

Angular not running with proxy configuration

I have dotnet (6) backend running on localhost:9090 and Angular frontend running at 4200. I use graphql instead of Rest (just a detail, doesn't change much) and when I try to reach http://localhost:...
Raso's user avatar
  • 61
-1 votes
1 answer
121 views

Headers of HTTP request have no Origin

Why do HTTP request headers have no Origin? I'm facing a CORS conflict after any request from my frontend to my backend. I have two projects. Both located at one server and with one public IP but ...
AlexCap's user avatar
  • 17
0 votes
0 answers
82 views

Cors and why i am not able to send a request

import React,{useContext,useState} from 'react' import axios from "axios"; import {Context,server} from "../main.jsx"; import {Link,Navigate} from "react-router-dom"; ...
Aditya Sharma's user avatar
1 vote
0 answers
21 views

Why does not postman encounter CORS issue , but web app does?

When I use postman for testing our api then I get results. But when I use my web project application then I get CORS error : datatable = table.DataTable({ 'ajax': { "...
pheromix's user avatar
  • 19k

15 30 50 per page
1
2 3 4 5
34