If an endpoint's content type is configured to be JSON or XML, Bunkum will try to deserialize the request body even if it's empty and the endpoint is set to allow empty bodies (it has an AllowEmptyBodyAttribute and a nullable body parameter). This will cause exceptions to be thrown due to the respective serializer not being able to deserialize the body.
If an endpoint's content type is configured to be JSON or XML, Bunkum will try to deserialize the request body even if it's empty and the endpoint is set to allow empty bodies (it has an
AllowEmptyBodyAttributeand a nullablebodyparameter). This will cause exceptions to be thrown due to the respective serializer not being able to deserialize the body.