2020年9月28日 星期一

curl_setopt($ch,CURLOPT_POST,1) vs. curl_setopt($ch,CURLOPT_CUSTOMREQUEST,"POST")

PHP 的 curl_setopt 這兩個有不同嗎?

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");

經抓封包結果,兩者完全相同


沒有留言:

ifup and ifdown equivalent nmcli command

ifup eth0 = nmcli con up eth0 ifdown eth0 = nmcli con down eth0 ifup, ifdown command still available in NetworkManager-initscripts-updown pa...