AspNetCoreUnsupportedMediaType is an ASP.NET Core solution which requires all http POST and PUT requests to have the 'Content-Type' header set to 'application/json'.
Info
Version: | 1.0.1 |
Author(s): | Darryn Patterson |
Last Update: | Tuesday, September 6, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/DarrynPatterson/AspNetCoreUnsupportedMediaType |
NuGet Url: | https://www.nuget.org/packages/AspNetCoreUnsupportedMediaType |
Install
Install-Package AspNetCoreUnsupportedMediaType
dotnet add package AspNetCoreUnsupportedMediaType
paket add AspNetCoreUnsupportedMediaType
AspNetCoreUnsupportedMediaType Download (Unzip the "nupkg" after downloading)
Dependencies
- NETStandard.Library(>= 1.6.0)
- Microsoft.AspNetCore.Mvc.Core(>= 1.0.0)
- Newtonsoft.Json(>= 9.0.1)
Tags