问答详情
源自:1-1 cURL概念介绍

老师,如何构建header头信息啊


POST /user/getToken.json HTTP/1.1 Host: api.cn.rong.io App-Key: uwd1c0sxdlx2 Nonce: 14314 Timestamp: 1408706337 Signature: 890b422b75c1c5cb706e4f7921df1d94e69c17f4 Content-Type: application/x-www-form-urlencoded Content-Length: 78

提问者:小明蛋糕店 2015-04-07 14:45

个回答

  • 未_眠
    2015-09-21 21:30:45

    curl_setopt('ch',CURL_HEADER);