Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

273
Vistas
PUT is behaving like PATCH | {overwrite: true} is showing weird behaviour

enter image description here

I am making a put request and its being succesfully verified from the console. Note, that overwrite is set to true and this is a PUT request.

But, the results I am getting are like :

enter image description here

Now, if I simply remove the {overwrite: true} from my code, the update is successful.:

enter image description here

Another issue is that, if I make a put request and only provide (for example,) the content, then the title for that doc should just disappear, because thats what PUT does, resplaces the complete doc with the new one. But, this isn't working. If i dont pass the title and pass only the content, the title remains inact and the content gets updated. Isn't it the behaviour of PATCH

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda