MSAPI, GET
parent
7e4bf448e3
commit
86ba05b5be
|
@ -950,7 +950,9 @@ class Onedrive {
|
||||||
$url .= ':' . $path;
|
$url .= ':' . $path;
|
||||||
if (substr($url,-1)=='/') $url=substr($url,0,-1);
|
if (substr($url,-1)=='/') $url=substr($url,0,-1);
|
||||||
}
|
}
|
||||||
if ($method=='PUT') {
|
if ($method=='GET') {
|
||||||
|
$method = 'GET'; // do nothing
|
||||||
|
} elseif ($method=='PUT') {
|
||||||
if ($path=='' or $path=='/') {
|
if ($path=='' or $path=='/') {
|
||||||
$url .= 'content';
|
$url .= 'content';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue