array(
'method'=>"GET",
'header'=>"Accept: application/json\r\n"
)
);
$context = stream_context_create($opts);
$base = 'https://api.globalgiving.org/api';
$operation = '/public/projectservice/themes';
$api_key = 'e79ada80-2bcb-4d55-b6b4-8445c069a72f';
$query_string = "api_key=" . "$api_key";
$url = "$base$operation?$query_string";
// Open the url using the HTTP headers set above
$output = file_get_contents($url, false, $context);
echo $output;
?>
CURRENT SANID PROJECTS