Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48330

Cannot delete rows with API

$
0
0

I am using the code below taken from the apiary. I can use the same endpoint below to add records without any issue. However deleting rows just returns a false, with no extra data. What am I doing wrong??

 

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.powerbi.com/beta/datasets/3b842754-7e03-412a-a141-eb9b3cbab5fe/tables/RealTimeData/rows?key=xxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
$response = curl_exec($ch);
curl_close($ch);
common::reveal(array('res',$response,true));


Viewing all articles
Browse latest Browse all 48330

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>