Solr POST request not working in Sitecore 9.1

We recently had to upgrade one of our client’s Sitecore website from version 8.2 to 9.1. During the upgrade we noticed that a POST request that was being used for one of the search components stopped working. The following error was being written to the Sitecore logs:...