W
W
wodelrock2020-05-05 17:46:11
CORS
wodelrock, 2020-05-05 17:46:11

Why am I getting a "CORS" error when I send a request with the "X-Unique-Salt" header?

5eb17be0ae80a458601613.png

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

1 answer(s)
A
Andrey Pastukhov, 2020-05-05
@tyllo

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 <-> httpwith the same ip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question