This commit is contained in:
dev-chiefworks
2022-04-20 20:41:35 -04:00
parent 855bf9ac9c
commit 5b5ed22738
+1 -1
View File
@@ -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\"}");