added second call
This commit is contained in:
@@ -431,6 +431,7 @@ abstract class BaseController extends Controller
|
||||
}
|
||||
|
||||
public function APIcall($method, $url, $data) {
|
||||
if(!is_array($data)) $data =[]; //
|
||||
// $curl = curl_init();
|
||||
$curl = curl_init($url);
|
||||
switch ($method) {
|
||||
|
||||
Reference in New Issue
Block a user