liori
liori

Reputation: 42377

RESTful services and

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?

Upvotes: 0

Views: 72

Answers (1)

Hank Gay
Hank Gay

Reputation: 72029

Use querystring parameters.

Upvotes: 4

Related Questions