PHP (Extension) / Microsoft Graph / Get drives
Back to Collection Items
<?php
include("chilkat_9_5_0.php");
$http->put_AuthToken('<access_token>');$success = $http->QuickGetSb('https://graph.microsoft.com/v1.0/sites/{{SiteID}}/drives',$sbResponseBody);
?>
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://graph.microsoft.com/v1.0/sites/{{SiteID}}/drives
Postman Collection Item JSON
{
"name": "Get drives",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "https://graph.microsoft.com/v1.0/sites/{{SiteID}}/drives",
"protocol": "https",
"host": [
"graph",
"microsoft",
"com"
],
"path": [
"v1.0",
"sites",
"{{SiteID}}",
"drives"
]
}
},
"response": [
]
}