CURL *handle;
struct curl_slist *slist=NULL;
slist = curl_slist_append(slist, "X-libcurl: coolness");
slist = curl_slist_append(slist, "Authorization: Bearer retrffhj");
curl_slist_free_all(slist); /* clears all header list */
如何使用密钥清除标头授权和其余标头信息应保留原样。
答案 0 :(得分:0)