Answer the question
In order to leave comments, you need to log in
retrofit put vs patch? What is the difficulty of always replacing the entire object?
As written: PUT requests replace the entire object. On the other hand, PATCH requests only send properties that have changed and ignore anything that remains the same.
And what is the difficulty of always replacing the entire object? How much different is the speed of replacing an object from the speed of replacing a single property? How big can the transferred objects be?
Answer the question
In order to leave comments, you need to log in
With PATCH, for example, you can make such an apishka;
jsonpatch.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question