Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUT vs. PATCH clarification #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvolkmann
Copy link

@mvolkmann mvolkmann commented Jan 10, 2024

@codetalcott Is there any disagreement over whether this is a good change?

Copy link

netlify bot commented Jan 10, 2024

Deploy Preview for hypermedia-systems ready!

Name Link
🔨 Latest commit 8ea4d80
🔍 Latest deploy log https://app.netlify.com/sites/hypermedia-systems/deploys/659ea460f9a2b600083e9bc5
😎 Deploy Preview https://deploy-preview-124--hypermedia-systems.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@1cg
Copy link
Contributor

1cg commented Jan 12, 2024

Hi @mvolkmann do you think that langauge is defensible given the discussion here:

https://stackoverflow.com/questions/28459418/use-of-put-vs-patch-methods-in-rest-api-real-life-scenarios

Maybe we should use the RFC language, or at least reference it?

@mvolkmann
Copy link
Author

Sure, using words from that post is fine with me.
So instead of my suggestion to add the word "all" for PUT, we would add "a modified version"
and instead of my suggestion to add the words "some of" for PATCH we would add "a set of changes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants