json body support

This commit is contained in:
thefosk
2012-11-15 16:50:13 -08:00
parent 0191cc569d
commit 66633cf78b
2 changed files with 4 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ require_once(dirname(__FILE__) . "/../authentication/OAuth10aAuthentication.php"
require_once(dirname(__FILE__) . "/../authentication/OAuth2Authentication.php");
class HttpClient {
public static function doRequest($httpMethod, $url, $parameters,
$authHandlers, $contentType = ContentType::FORM, $encodeJson = true) {
HttpUtils::cleanParameters($parameters);