I believe it’s important to learn concepts from a POV of X, when trying to learn something very confusing that could mean multiple meanings.
These are what I wrote in my college notes of TCP IP that I did 6 years ago.
Much of it is confusing as both seem to be doing the same thing.
Can you tell me what’s the benefit of being idempotent? As far as I know idempotent means no matter how many times you repeat a input, you get same output.
You send a piece of information => you get a response
Ex: You search for pizza in a dinner => you send the “pizza” information to the server => it responds all the pizzas.
PUT:
Basically means UPDATE.
You send the information => the server responds by replacing that information to the existing data.
Ex: You want to change your account information => you input all the changes that are
compulsory => the server replaces and sends back the new information you put in.