How to differentiate between multiple Operations which use the same HTTP Action

Hi,

I currently try to model a resource which would support more than one
operation based on HTTP GET.
Doing so I encountered two issues I could solve
but as they don't feel completely clean to me,
I want to ask other ideas here.

1.) If you have multiple Operations based on HTTP GET you need a way to
find out which one the client picked. How to do that?
As far as I can see, you only can differentiate
them by inspecting the type of the resource sent in the body.


2.) A secondary (not directly Hydra related) is that
that this would _require_ the server to parse the request body
which means it conveys semantic meaning which is
not allowed according to Roy Fieldings clarification about GET [1]

[1] http://stackoverflow.com/a/983458/1821792

Greets, Thomas

Received on Tuesday, 15 April 2014 14:25:30 UTC