ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
* Body传输 * Body方式是直接传输字符串 , 若为数组需要转换成JSON ~~~ $other = []; $obj = []; $obj['a'] = 1; $obj['b'] = 2; $other['body'] = json_encode($obj); $com = $U_P->com('http://192.168.2.68/test.php',$other); ~~~ ~~~ $other = []; $other['body'] = '中文abc123'; $com = $U_P->com('http://192.168.2.68/test.php',$other); ~~~ > $obj = file_get_contents("php://input");