Answer the question
In order to leave comments, you need to log in
Why am I getting a "CORS" error when I send a request with the "X-Unique-Salt" header?
Why am I getting a "CORS" error when I send a request with the "X-Unique-Salt" header?
The error occurs only when sending a header with "X-"
"Rest API" and "Front-end (react)" is on the same server and on the same IP address
Answer the question
In order to leave comments, you need to log in
CORS - you can read more carefully how the browser works with cors. It's not the title X-{...}
, but the fact that it's custom.
And you, I will assume, either different ports, or https <-> http
with the same ip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question