You appear to be a bot. Output may be restricted
Description
Usage
HttpCurl::httpGet( $url, $userAgent );
Parameters
- $url
- ( mixed ) required –
- $userAgent
- ( mixed ) optional –
Returns
void
Source
File name: easy-digital-downloads/includes/gateways/libs/amazon/HttpCurl.php
Lines:
1 to 14 of 14
public function httpGet($url, $userAgent = null) { $ch = $this->commonCurlParams($url,$userAgent); // Setting the HTTP header with the Access Token only for Getting user info if ($this->header) { curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Authorization: bearer ' . $this->accessToken )); } $response = $this->execute($ch); return $response; }