PRAISE THE LORD! EUREKA! and <INSERT MANIACAL LAUGHTER HERE>
I found the answer to keep the GET request from turning to a POST request on Godaddy.
In OAuthClient.php, around line 186, look for this code:
if( $httpMethod == "POST" || $httpMethod == "PUT") {
curl_setopt( $this->connection, CURLOPT_POST, true );
if(strlen($requestBody) > 0)
curl_setopt( $this->connection, CURLOPT_POSTFIELDS, $requestBody );
} else {
curl_setopt( $this->connection, CURLOPT_POST, false );
}
and after the curl_setopt after the “else” add:
curl_setopt( $this->connection, CURLOPT_HTTPGET, true );
so you get:
if( $httpMethod == "POST" || $httpMethod == "PUT") {
curl_setopt( $this->connection, CURLOPT_POST, true );
if(strlen($requestBody) > 0)
curl_setopt( $this->connection, CURLOPT_POSTFIELDS, $requestBody );
} else {
curl_setopt( $this->connection, CURLOPT_POST, false );
curl_setopt( $this->connection, CURLOPT_HTTPGET, true ); // add this line
}
I don’t know if just setting CURLOPT_POST to false wasn’t enough for Godaddy or Godaddy had CURLOPT_HTTPGET set to FALSE in the first place or what was going on.