Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

266
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!