REST - Wrong request method for updates #651
Replies: 4 comments 4 replies
-
Hey @wojciechkrol — You're totally right. This would be pretty significant breaking change though. I think if we were to make this change, it'd be before 1.0. We could potentially open an endpoint for Then once we hit What do you think? |
Beta Was this translation helpful? Give feedback.
-
Hey @jmikrut, I totally agree you shouldn't make breaking changes to keep existing projects working without refactoring. I think you can open an endpoint for Do you have any roadmap for |
Beta Was this translation helpful? Give feedback.
-
Hey @jmikrut, I see you hit |
Beta Was this translation helpful? Give feedback.
-
Hello @jmikrut Could you enable PATCH request as an alternative for PUT? |
Beta Was this translation helpful? Give feedback.
-
Hello devs,
I see you are using PUT request method to update collection data. PUT method should be used to create or update an existing item and requires the entire resource to be sent (update should replace the whole document).
In my opinion, you should change this method to PATCH which covers your usage. Why?
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions