Reputation: 22735
Everything works fine when using AddMvc for webapi call, but it throws 415 back when using AddMvcCore.
request header is set as
Content-Type: application/json; charset=UTF-8
Accept: application/json
Any thought ?
Upvotes: 2
Views: 1670