Error method PUT HTTPS IIS 10 Angular 16 Windows Server 2019

Discussão em 'Angular' iniciado por Jorge, Novembro 25, 2024.

  1. Jorge

    Jorge Guest

    I have a problem.

    I have a Web Site (Angular 16). That's deploy in IIS 10 (https port 443 with a Certificate)

    I have ARR enabled, and on my web site tengo a rewrite ruler.

    My backend is in NodeJs. It's running in the same serv but in other port (3000), also with https and a Certificate.

    No problem when call back-end para method POST. Is ok no problem.

    The problem is when the web call a PUT method. Never reaches my backend. I know that because i have the next code begining my server.js (archivo principal in my back-end):

    app.use((req, res, next) => { console.log(Ruta recibida: ${req.url}); // Esto te mostrará si la ruta reescrita está llegando correctamente next(); });

    Never reaches the PUT to my back-end because not print nada.

    In the console chrome. say that: PUT rutacompleta 403 (Forbidden)

    When i call the same PUT method with POSTMAN no problem, works ok. But the problem is when i use Chrome, I can't.

    Please help

    Continue reading...

Compartilhe esta Página