Rename "HTTPRequest::curl()" to HTTPRequest::get()
This commit is contained in:
committed by
Hypolite Petovan
parent
e5649d6dbf
commit
7029012f27
@@ -100,7 +100,7 @@ class Magic extends BaseModule
|
||||
);
|
||||
|
||||
// Try to get an authentication token from the other instance.
|
||||
$curlResult = DI::httpRequest()->curl($basepath . '/owa', false, ['headers' => $headers]);
|
||||
$curlResult = DI::httpRequest()->get($basepath . '/owa', false, ['headers' => $headers]);
|
||||
|
||||
if ($curlResult->isSuccess()) {
|
||||
$j = json_decode($curlResult->getBody(), true);
|
||||
|
||||
Reference in New Issue
Block a user