3 ms·
It's more about convention. Typically, PUT overwrites data, whereas POST adds data. If you PUT to /users/3 you overwrite a user, whereas if you POST to /users y
by landa 4y ago
It's more about convention. Typically, PUT overwrites data, whereas POST adds data. If you PUT to /users/3 you overwrite a user, whereas if you POST to /users you add a user.