-
Notifications
You must be signed in to change notification settings - Fork 55
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
Adding MERGE HTTP method #400
Comments
Looks like this needs to get added to Line 12 in 01cfc78
Can you add some context about which service is using this? |
I needed that for Azurite table, but in the meanwhile the other contributers added a solution for solving my blocker (https://github.com/Azure/Azurite/pull/545/files). But TBH I cannot say if that is only a workaround. Anyways I think adding MERGE method is relevant anyways. |
Looking at this again, it seems like MERGE is not a standard request method: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods And this page makes it sound like PATCH is preferred: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-odata/59d5abd3-7b12-490a-a0e2-9d9324b91893
I'm a little confused why storage-tables would require the use of a non-standard request method. |
Interesting point. Even though MERGE seems not be a standard request method, the storage api specifies MERGE as method for the merge entity operation: https://docs.microsoft.com/en-us/rest/api/storageservices/merge-entity. I think PATCH is also valid, but Azurite wants to be API spec compliant to the storage API spec. |
Technically I think you could set the method with |
@iamNoah1 would the workaround of |
Is your feature request related to a problem? Please describe.
Working on a project that uses ms-rest-js and need to handle HTTP MERGE request method
Describe the solution you'd like
Add MERGE as possible request method
The text was updated successfully, but these errors were encountered: