Closed allanwalpy closed 5 years ago
If Consumes attribute applied on Controller which have get - all requests will fail due to 415 Unsupported Media Type; Workaround - define Consumes for every action with body result (and so disable for no body actions);
Consumes
see issue at aspnetcore repository; see patch fixing it in upcoming 2.2.2 update;
aspnetcore
2.2.2
until release stick with workaround above;
not a critical bug, acceptable workaround available
asp.net core v2.2.2 is out :tada:
If
Consumes
attribute applied on Controller which have get - all requests will fail due to 415 Unsupported Media Type; Workaround - defineConsumes
for every action with body result (and so disable for no body actions);see issue at
aspnetcore
repository; see patch fixing it in upcoming2.2.2
update;until release stick with workaround above;