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

356
Visualizações
403 forbidden webhook request on ngrok

I want to get JSON from Razorpay webhook and I am using NEXT.JS in frontend and Strapi on the backend to develop my site. Because webhook doesn't work locally, I have tunneled my localhost to HTTPS using ngrok. Whenever webhook sends me data on ngrok URL, the ngrok shows me 403 Forbidden requests by webhook.

This is my code:

async verification(ctx) {
    try {
      ctx.send(200);
      const secret = "This is the razorpay secret";

      console.log(ctx.request.body);
    } catch {
      error;
    }
  },

I am sending 200 and printing the JSON that webhook sends me. I see nothing wrong and it's still not working. On the NGROK web interface, I can see the JSON webhook send me but ngrok tells me that request webhook made is forbidden and gives the status of 403.

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