|
//$curl = 'curl --get '.$this->read['host'].'/query?db=api --header "Authorization: '.$header['Authorization'].'" --data-urlencode "q='.$param['q'].'"';
|
|
//$curl = 'curl --get '.$this->read['host'].'/query?db=api --header "Authorization: '.$header['Authorization'].'" --data-urlencode "q='.$param['q'].'"';
|
|
//$curl = 'curl --request POST "'.$host.'" --header "Authorization: '.$header['Authorization'].'" --header "Content-Type: '.$header['Content-Type'].'" --header "Accept: '.$header['Accept'].'" --data-binary \''.$param.'\'';
|
|
//$curl = 'curl --request POST "'.$host.'" --header "Authorization: '.$header['Authorization'].'" --header "Content-Type: '.$header['Content-Type'].'" --header "Accept: '.$header['Accept'].'" --data-binary \''.$param.'\'';
|
|
$result = Dever::curl($host, $param, $type, $json, $header)->result();
|
|
$result = Dever::curl($host, $param, $type, $json, $header)->result();
|