web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

difference between PUT & PATCH using web api

(0) ShareShare
ReportReport
Posted on by

When i try to update a single value using PUT with web api there is no Error.

Instead using PATCH type to update a single value i am getting the following error as, 

 405 Method not Allowed-
The requested resource does not support http method 'METHOD_OTHER' 

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    This might help you

    stackoverflow.com/.../what-is-the-main-difference-between-patch-and-put-request

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    Please review the documentation: msdn.microsoft.com/.../mt607664.aspx

    A patch request is to update multiple properties at once in the request. A put request only updates one property.

  • Suggested answer
    Kjeld Poulsen Profile Picture
    180 on at

    You can use patch even for the single property update, however by design (the name of the single property to be updated must be included in the url) put can only be used when only one property should be updated.  In my update request i forgot to parse the ...s(objectid-guid) (copy paste error from created code :-) ) in the patch url and that gave same type of error. Your respond guide me in the right direction.  Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans