fix
This commit is contained in:
@@ -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\"}");
|
||||
|
||||
Reference in New Issue
Block a user