摘要: ``` 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, ... 阅读全文
posted @ 2018-01-17 10:45 oneboi 阅读(120) 评论(0) 推荐(0)