Added POST variant to handle responses whose type does not match the
request