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

136
Visualizações
Is there a way to call API not on client side?

Currently in my site, the API Call is in the client-side JavaScript meaning that anyone can spam refresh and use up the limited amount of API Calls (At least I assume that is how it works).

I am new and I want to know if I can call the API Locally and then push that data to the client end.

Here is the format of my API Calls:

const res = await fetch(`https://link.com`, {
        headers: {
            'X-RapidAPI-Host': "link",
            "X-RapidAPI-Key": "key"
        }, 
    });

I am currently using simple JavaScript with jQuery. Node.js, AWS or some other services may be required for what I want but I am not sure, any help would be amazing. I have tried seeking answers to this question but was not able to find anything that made any sense.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Here's a helpful article on caching API requests. This method is done client side and should be suitable for your question: https://dev.to/adancarrasco/caching-api-requests-in-javascript-mc4

about 4 years ago · Juan Pablo Isaza Relatório
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