标签:pre url int etop request code top ret omr
curl如何发起DELETE/PUT请求
DELETE:
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, ‘DELETE‘);
PUT:
curl_setopt($ch, CURLOPT_PUT, true);
GET:
curl_setopt($ch, CURLOPT_HTTPGET, true);
POST:
curl_setopt($ch, CURLOPT_POST, true);
curl pur delete post get请求类型参数
标签:pre url int etop request code top ret omr
原文地址:http://www.cnblogs.com/xuhaohao/p/7372601.html