If we dont add MERGE HttpMethod here, then preflight request with asking MERGE method will be rejected.
https://www.odata.org/documentation/odata-version-2-0/operations/ 2. Operations The OData service interface has a fixed number of operations that have uniform meaning across all the resources it can act on. These operations are retrieve, create, update and delete and they map to the GET, POST, PUT/MERGE and DELETE HTTP methods.
Comment From: pivotal-issuemaster
@bianbian-org Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@bianbian-org Thank you for signing the Contributor License Agreement!
Comment From: met-pub
OK. Finally I changed odata client to send PUT method. seems PUT/MERGE apply equally