Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am trying to get all reports from the specific workspace of power bi using the below CURL script of PHP, but it returns an empty response. even I could not get any error message. I can't understand what is the problem. please help me if any knows about this issue.
<?php
$curlPostToken = curl_init();
curl_setopt_array($curlPostToken, array(
CURLOPT_URL => "https://api.powerbi.com/v1.0/myorg/apps/3d9b93c6-7b6d-4801-a491-1738910904fd/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
));
$tokenResponse = curl_exec($curlPostToken);
print_r($tokenResponse);
$tokenError = curl_error($curlPostToken);
curl_close($curlPostToken);
?>
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.