Lines Matching refs:http
387 $http = new DokuHTTPClient();
389 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
391 $raw_response = $http->get($url);
393 if ($http->status >= 400) {
395 switch ($http->status) {
577 $http = new DokuHTTPClient();
579 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
581 $raw_response = $http->post($url, $data);
583 if ($http->status >= 400) {
585 switch ($http->status) {
620 $http = new DokuHTTPClient();
622 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
624 $http->sendRequest($url, '', 'DELETE');
626 if ($http->status >= 400) {
628 switch ($http->status) {
679 $http = new DokuHTTPClient();
681 $http->headers = array('Authorization' => 'DeepL-Auth-Key ' . $this->getConf('api_key'));
683 $raw_response = $http->post($url, $data);
685 if ($http->status >= 400) {
687 switch ($http->status) {