i glad the new v1.22 is come out,but after upgrade,my code is not function any more,what happen in here
$authUrl = "xxxx datamarket.accesscontrol.windows.net/v2/OAuth2-13/ ";
$options = array(); $options['method'] = 'POST'; $options['timeout'] = $this->config['timeout']; $options['postData'] = array( 'grant_type' => "client_credentials", 'scope' => "api.microsofttranslator.com", 'client_id' => $clientID, 'client_secret' => $clientSecret ); $options['postData'] = $params;
$req = MWHttpRequest::factory($authUrl, $options);
$status = $req->execute();
after upgrade mw 1.22
i got this error
[error] PHP Warning: curl_setopt_array() [<a href='function.curl-setopt-array'>function.curl-setopt-array</a>]: Array keys must be CURLOPT constants or equivalent integer values in ...