diff --git a/main/mashape/http/HttpClient.php b/main/mashape/http/HttpClient.php index bc10265..89fb7de 100755 --- a/main/mashape/http/HttpClient.php +++ b/main/mashape/http/HttpClient.php @@ -64,7 +64,7 @@ class HttpClient { throw new MashapeClientException(EXCEPTION_NOTSUPPORTED_HTTPMETHOD, EXCEPTION_NOTSUPPORTED_HTTPMETHOD_CODE); } - if ($contentType == ContentType::JSON && is_array($parameters)) { + if ($contentType == ContentType::JSON) { // Content type JSON does not allow array parameters. throw new MashapeClientException( EXCEPTION_CONTENT_TYPE_JSON_ARRAY,