Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

181
Visualizações
CORS error when using WebStorm integrated server

I'm creating a webpage with JavaScript and fetch for API requests for an internal use.

My IP is authorized on the server for API request but for the development I use the WebStorm integrated server (on localhost) so when I make a fetch request, the origin in the request headers is set to http://localhost:63342 and the request is blocked because of CORS.

I tried to edit this request in Firefox's Seveloper Tools to set the origin header to my external IP address and it worked great. However I wasn't able to edit it in the JavaScript fetch code.

The used API is Acronis and I can't add localhost, 127.0.0.1 or 192.168.1.13 to the list of authorized IP.

Is there a way to bypass this automatic header or force Firefox to use the external IP instead of the "real one" which is localhost here?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda