AMBARI-6381. Make appropriate changes for GET requests that we will send as POST with custom header. (onechiporenko)