diff --git a/app/Services/CoreServiceApi.php b/app/Services/CoreServiceApi.php index c5ec40f..9b10e48 100644 --- a/app/Services/CoreServiceApi.php +++ b/app/Services/CoreServiceApi.php @@ -11,7 +11,7 @@ public static function NodeServiceApi($url_path, $data){ $ch = curl_init(); - curl_setopt($ch, CURLOPT_URL, 'http://10.20.30.26:8000/api/v1/'.($url_path); + curl_setopt($ch, CURLOPT_URL, 'http://10.20.30.26:8000/api/v1/'.$url_path); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); // curl_setopt($ch, CURLOPT_POSTFIELDS, "{'username':'$username','password':'$password',\"sessionid\":\"DUMMYSESSION\"}");