Last post Dec 20, 2010 08:51 AM by thewilsons13
Dec 20, 2010 08:51 AM|thewilsons13|LINK
REST web services in .NET 4.0 seems to support two content types; XML and JSON.
What if I want to use an "application/vnd.mycompany.resource+xml" content type? I've read the debate on this, and I really like this approach, especially for application versioning, where I can include version in the contnent type, as opposed to in the
So, aside from the debate, is it possible? Can I control the acceptable content type, both incoming (POST / PUT) and outgoing (GET)?
Thanks for any help you can provide!