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

122
Visualizações
PUT request with successful preflight response and subsequent PUT response with changes does not update content on backend

On a successful preflight and subsequent PUT response with changes, I am able to update current state. However, on requesting updated content from the backend, I receive content prior to making the change.

I have tried doing the following:

From localhost to a secure server api. (cross-origin)

In the preflight request, the response headers from the server are as follows:

access-control-allow-headers: accept, accept-encoding, authorization, content-type, dnt, origin, user-agent, x-csrftoken, x-requested-with access-control-allow-methods: DELETE, GET, OPTIONS, PATCH, POST, PUT access-control-allow-origin: *

And the subsequent PUT request receives a 200 status, and in the response I am able to receive json response to the changes I have submitted. And I am able to update current state with new information.

At the backend there is no sign of this update. I am expecting changes in the backend with the updated content, but there is no update

From the web app (same-site-origin)

The behavior is the exact same.

In postman the PUT request works fine

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