如何读curl返回的html linux12345678910指定返回json格式,我们只需要添加头信息即可: $header = array('Accept: applicationjson, textjavascript, **q=0.01')cur2023-02-19html-css270