1.

What is the difference between PUT, POST, and PATCH?

Answer»

The DIFFERENCE between POST, PUT and PATCH is:

  1. POST - The POST method is used for creating a new resource.  
  2. PUT - The PUT method is SIMILAR to POST, but it is used to update an existing resource by replacing its CONTENTS ENTIRELY.  
  3. PATCH - PATCH is also used to update an existing resource but unlike PUT, it modifies the existing resource instead of completely replacing it.


Discussion

No Comment Found