1 2 3 4 5 6 7 8 9 10 11 12 13 |
$data = array("name" => "Hagrid", "age" => "36"); $data_string = json_encode($data); $ch = curl_init('http://api.local/rest/users'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS,$data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER,true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string)) ); $result = curl_exec($ch); |
现在的工作状态糟透了,没有休息时间。天天各种会议,各种报表。 没有时间来整理自己… Continue Reading →
无法提供摘要。这是一篇受保护的文章。
无法提供摘要。这是一篇受保护的文章。
递归删除文件再删除文件夹
一个在线的m3u8播放器
ffmpeg -i index.m3u8 -c copy new.mp4 ffm… Continue Reading →
通用类,方便调用
© 2024 九天博客 — Powered by WordPress
Theme by Anders Noren — Up ↑