Q
Q
Quber2014-11-22 17:55:41
PHP
Quber, 2014-11-22 17:55:41

What is the difference between PUT and PATCH?

I am writing an API application. I read the documentation in English, but since I'm bad with it (English), it's not entirely clear how to use PUT and PATCH.

PUT seems to be clear, an entity is selected from the database and its fields are updated, and everything at once.

PATCH, the same, only not all fields are updated, but selectively.

Correct me if I'm wrong.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2014-11-22
@Quber

Right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question