views:

24

answers:

1

Hello.

I have just read Resource-Oriented Architecture: The Rest of REST. The reasoning behind content negotiation is compelling, but there's one thing I sometimes need, which seems to be impossible in this schema.

Let assume I've got a web service to deliver some graphs. I want users to choose between different styles of these graphs (a fancy color one, B&W, ...), but all of them are always png images. For all of them the mimetype will simply be image/png. So what is the preferred way to negotiate custom parameters?

+3  A: 

Use querystring parameters.

Hank Gay
Too simple to think of...
liori