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

188
Visualizações
Want to use my API to http which redirects to https

I am currently using the following public & open-source API

  • http://www.geognos.com/api/en/countries/flag/IT.png

Here, this API is working in the localhost but after deploying it to the vercel, it is getting transferred from HTTP to HTTPS and showing undefined results.

What I had done?

I had found a solution which told to add

    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

in the /public/index.html.

But it still shows the following error

flag

Is there a solution to tackle this problem? Please help me!

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