James Davies
James Davies

Reputation: 9859

Support for HTTP "MERGE" verb in Play! Framework 2.1?

I'm attempting to implement an oData service on the Play! Framework.

When updating records, The oData client "JayData" uses the 'Merge' HTTP Verb/method to submit changes, however this doesn't appear to be supported at all by the Play framework.

Is there anyway to add support for this?

Upvotes: 1

Views: 1216

Answers (1)

Samy Dindane
Samy Dindane

Reputation: 18706

MERGE won't be supported because it is not a valid HTTP method.

In order to use an arbitrary HTTP method in your request, use the execute method from WSRequestHolder.

Upvotes: 4

Related Questions