diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index e263989a43fc63fc5cfb5d7749de3263bc0e4d20..ed0a3aec60f40a8fe1e338b1d23078697bc3a633 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -197,6 +197,8 @@ class HTTPClient {
             }
             $headers['Content-Length'] = strlen($data);
             $rmethod = 'POST';
+        }elseif($method == 'GET'){
+            $data = ''; //no data allowed on GET requests
         }
         if($this->user) {
             $headers['Authorization'] = 'Basic '.base64_encode($this->user.':'.$this->pass);