I am familiar with the Microsoft stack. I am using OData for some of my restful services. Recently I came across Swagger for API documentation and I am trying to understand how it relates to OData. Both of them seem …
I did the upgrade according to.
http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
I get the error. Does any one else got this error?
Server Error in '/' Application.
Could not load file or assembly 'System.…
I am getting 'error 415: Unsupported Media Type' when posting to an OData service when using JSON.
Solution at the bottom of this rather long post.
I can GET using JSON but as soon as I try and POST I get …